Pascal Vizeli
a250f583eb
Fix attribute entity ( #8066 )
...
* Bugfix entity attribute setter
* Fix tests
* Fix tests part 2
* Change filter only None
* Fix tests part 3
* Update entity.py
* Fix tests
2017-06-17 10:59:18 -07:00
Pascal Vizeli
d24b45054a
Update numpy 1.13.0 ( #8059 )
2017-06-17 10:59:18 -07:00
Pascal Vizeli
814834512a
Group service / dynamic handling ( #7971 )
...
* Add Service to group
* Finish service
* Add service functions
* fix lint
* Address paulus comments
* fix lint & cleanup
* fix lint
* fix lint
* fix lint p3
* add test for check group
* add more tests
* fix lint
* Update service.yaml
* Fix order for tests
* Fix comment
* Fix test
* Fix tests
* Fix name in tests
* Fix view
* Fix default value
* Fix lint
* Fix key error
* add name
* migrate component entity
* fix tests
* fix import
* migrate device tracker
* fix lint
* fix bug
* fix logic
* fix lint
* fix tests
* fix generator
* fix group
* fix other tests.
* Not need to load group on first stage anymore.
* fix service
* add more group depency
* fix tests
* Revert "fix tests"
This reverts commit 35a922b3a8d00821a00d153997b7be57117de328.
* Real fix
* fix test p2
* fix test p3
* fix test p4
* fix test p5
* fix test p6
* fix lint
* fix test p7
* Rename attribute
* fix group test
* fix bug
* fix flagy tests
* fix service.yaml
* fix lint
2017-06-16 00:52:28 +02:00
Pascal Vizeli
2df6aabbf3
Cleanup telegram / Add url to webhook ( #7824 )
...
* Cleanup telegram / Add url to webhook
* fix lint
* Fix lint
2017-05-30 06:55:06 +02:00
Pascal Vizeli
7e539a3cb2
Add support for face recognition with dlib ( #7421 )
...
* Add support for face recognition with dlib
* fix lint
* fix lint p2
* update library
* dlib can not build
* fix lint
* Fix int p1
* Update dlib_face_detect.py
* Update dlib_face_detect.py
* Update dlib_face_detect.py
2017-05-04 16:03:50 +02:00
Pascal Vizeli
3735c2e761
Fix HassIO bug with supervisor update & log ( #7282 )
2017-04-27 09:02:43 -07:00
Pascal Vizeli
9fc89ba744
WIP: HassIO allow to access to container logs. ( #7271 )
...
* HassIO allow to access to container logs.
* Add unittest & make a fixture for env
* Add unittest to check if no env exists
* Fix lint
2017-04-27 09:02:43 -07:00
Pascal Vizeli
f58d200ecb
Fix HassIO bug with supervisor update & log ( #7282 )
2017-04-24 23:22:40 +02:00
Pascal Vizeli
ead457f312
WIP: HassIO allow to access to container logs. ( #7271 )
...
* HassIO allow to access to container logs.
* Add unittest & make a fixture for env
* Add unittest to check if no env exists
* Fix lint
2017-04-24 15:16:28 +02:00
Pascal Vizeli
5c737cfa6e
HassIO API v2 ( #7201 )
...
Add an optional extended description…
2017-04-21 12:21:55 +02:00
Pascal Vizeli
0acc52b23b
HassIO API v2 ( #7201 )
...
Add an optional extended description…
2017-04-21 12:20:19 +02:00
Pascal Vizeli
f641287aa2
Add HassIO to discovery component ( #7195 )
...
* Add HassIO to autodiscovery
* Fix tests
* fix tests
* fix test v2
* fix mock test
* call
2017-04-20 18:45:15 -07:00
Pascal Vizeli
cec39077ba
Fix HassIO timeout bug ( #7155 )
...
* Fix HassIO timeout bug
* fix lint
* Add long polling timeout to stop event
2017-04-18 00:25:50 +02:00
Pascal Vizeli
9d20a17642
Lutron. Bugfix callback registration. ( #7042 )
...
* Lutron. Bugfix callback registration.
* Change handling to event
2017-04-12 09:52:01 +02:00
Pascal Vizeli
e026717239
Fix handling with register callbacks on added_to_hass ( #7067 )
2017-04-12 09:51:19 +02:00
Pascal Vizeli
c91cf66dec
Bugfix slider ( #7047 )
...
* Bugfix slider
* Update input_slider.py
* Update input_slider.py
2017-04-11 09:24:25 -07:00
Pascal Vizeli
11125864c6
Bugfix slider ( #7047 )
...
* Bugfix slider
* Update input_slider.py
* Update input_slider.py
2017-04-11 09:23:41 -07:00
Pascal Vizeli
7377ce2640
Bugfix wait on start event ( #7013 )
...
* Bugfix wait on start event
* Paulus sugestion
* Change handling with stop_track_task
* Add new unittests
* Update test_core.py
2017-04-11 09:15:31 -07:00
Pascal Vizeli
b52cabf2c0
Bugfix wait on start event ( #7013 )
...
* Bugfix wait on start event
* Paulus sugestion
* Change handling with stop_track_task
* Add new unittests
* Update test_core.py
2017-04-11 09:09:31 -07:00
Pascal Vizeli
d7ca9e7a66
Make core to look avilable state of device on servicecall ( #7045 )
2017-04-11 08:59:46 -07:00
Pascal Vizeli
a93c01788d
Bugfix time and task coro ( #6968 )
...
* Bugfix time and task coro
* fix also other create_task
* fix tests
* fix lint in test
2017-04-08 04:50:52 -07:00
Pascal Vizeli
0bb224d8c7
Initial import for HassIO ( #6935 )
...
* Initial import for HassIO
* Cleanup api code for views
* First unittest for view
* Add test for edit view
* Finish unittest
* fix addons test
* cleanup service.yaml
* Address first round with ping command
* handle timeout dynamic
* fix lint
2017-04-08 04:50:52 -07:00
Pascal Vizeli
3e66df50c8
Initial import for HassIO ( #6935 )
...
* Initial import for HassIO
* Cleanup api code for views
* First unittest for view
* Add test for edit view
* Finish unittest
* fix addons test
* cleanup service.yaml
* Address first round with ping command
* handle timeout dynamic
* fix lint
2017-04-06 22:19:08 -07:00
Pascal Vizeli
74ac160355
Bugfix time and task coro ( #6968 )
...
* Bugfix time and task coro
* fix also other create_task
* fix tests
* fix lint in test
2017-04-06 21:00:58 -07:00
Pascal Vizeli
86568b443c
Fix startup of sonos / snapshot handling / error handling ( #6945 )
...
* Fix startup of sonos / snapshot handling / error handling
* Use decorator for coordinator relay
* fix lint
* Fix unittest
* Move subscribe into executor
2017-04-05 23:24:30 -07:00
Pascal Vizeli
8f4fd951e5
Add android ip webcam support for aiohttp2 ( #6940 )
2017-04-04 21:40:19 -07:00
Pascal Vizeli
72db4a80dd
Update aioHTTP to 2.0.5 ( #6856 )
2017-03-30 08:27:53 -07:00
Pascal Vizeli
f4e9466394
Bugfix automation fire on bootstrap ( #6770 )
...
* Bugfix automation fire on bootstrap
* Add test & fix bug
* fix lint
2017-03-24 15:52:14 -07:00
Pascal Vizeli
c8e1ffad89
Pump Android ip webcam to 0.6 ( #6665 )
...
* Pump Android ip webcam to 0.5
* update to 0.6
2017-03-16 22:19:48 +01:00
Pascal Vizeli
acdab67c1b
Bugfix RFLINK remove group ( #6580 )
...
* Bugfix RFLINK remove group
* Remove group hack from lutron too
* fix tests
* fix lint
* fix lint
2017-03-15 23:19:33 -07:00
Pascal Vizeli
774fd19638
Bugfix RFLINK remove group ( #6580 )
...
* Bugfix RFLINK remove group
* Remove group hack from lutron too
* fix tests
* fix lint
* fix lint
2017-03-15 23:08:47 -07:00
Pascal Vizeli
198a234468
aioHttp 1.3.4 ( #6643 )
2017-03-15 22:30:46 +01:00
Pascal Vizeli
5529d77c62
Prevent entities running multiple updates simultaneously ( #6511 )
...
* Protect entity for multible updates on same time.
* Address all comments / make update more robust
* fix unittest
* fix lint
* address comments
2017-03-14 09:26:55 -07:00
Pascal Vizeli
5d301590c3
Remove dispatcher camera ( #6579 )
2017-03-13 17:54:28 +01:00
Pascal Vizeli
0ef1c3af34
Android webcam better error handling / pump library 0.4 ( #6518 )
2017-03-10 23:11:16 +01:00
Pascal Vizeli
44da43065f
Android webcam better error handling / pump library 0.4 ( #6518 )
2017-03-10 23:10:35 +01:00
Pascal Vizeli
b0a2909835
Bugfix rpi_rf cleanup ( #6513 )
...
Add an optional extended description…
2017-03-10 14:57:03 +01:00
Pascal Vizeli
b5fb558c62
Bugfix rpi_rf cleanup ( #6513 )
...
Add an optional extended description…
2017-03-10 14:56:13 +01:00
Pascal Vizeli
bdaae6f844
Bugfix android camera autodiscovery settings ( #6510 )
...
Add an optional extended description…
2017-03-10 10:14:05 +01:00
Pascal Vizeli
49308bec13
Bugfix android camera autodiscovery settings ( #6510 )
...
Add an optional extended description…
2017-03-10 10:10:35 +01:00
Pascal Vizeli
20fcd1f0e2
Bugfix mqtt socket memory error ( #6501 )
...
* Bugfix mqtt socket memory error
* Fix tests
* Fix lint
2017-03-09 06:31:43 -08:00
Pascal Vizeli
21f3b62d09
fix coverage
2017-03-09 01:03:15 +01:00
Pascal Vizeli
185ccc4fc4
Fix some things
2017-03-09 01:00:57 +01:00
Pascal Vizeli
c937a7bcb0
Add support for remove services / Reload script support ( #6441 )
...
* Add support for remove services / Reload script support
* Reload support for scripts
* Add more unittest for services
* Add unittest for script reload
* Address paulus comments
2017-03-07 22:51:34 -08:00
Pascal Vizeli
e7f442d66b
Add dispatcher camera for internal image. ( #6471 )
...
* Add dispatcher camera for internal image.
* fix lint
* Add unittest
* Update dispatcher.py
2017-03-07 22:37:23 -08:00
Pascal Vizeli
a8add06a40
Bugfix samsungtv discovery ( #6438 )
2017-03-05 23:52:15 +01:00
Pascal Vizeli
c0bf3d7f32
Restore flow on device_tracker platform ( #6374 )
...
* Restore flow on device_tracker platform
* fix flow
* fix lint
2017-03-05 08:06:53 +01:00
Pascal Vizeli
8232f1ef65
Cleanup async handling ( #6388 )
...
* Cleanups unneeded blocks
* Cleanup bootstrap
* dedicated update_ha_state
* Fix imap_email_content
* fx tests
* Fix lint & spell
2017-03-04 15:10:36 -08:00
Pascal Vizeli
ed9e93c29f
Migrate mqtt tracker and arwn sensor to async / cleanup owntrack ( #6373 )
...
* Migrate mqtt tracker and arwn sensor to async / cleanup owntrack
* Fix tests / lint
2017-03-03 12:09:10 +01:00
Pascal Vizeli
55f8ec8866
Fix possibility that have multible topic subscribe mqtt ( #6372 )
2017-03-03 10:05:52 +01:00
Pascal Vizeli
3e70154695
OwnTrack Async ( #6363 )
...
* Migrate owntrack to async
* fix tests
2017-03-03 09:23:58 +01:00
Pascal Vizeli
08f9793175
Restore for input_slider ( #6360 )
2017-03-02 08:36:26 -08:00
Pascal Vizeli
a5b2fc9759
Bugfix new async_add_devices function ( #6362 )
2017-03-02 17:27:45 +01:00
Pascal Vizeli
55dc483c91
Template switch change flow / add restore ( #6356 )
...
* Template switch change flow / add restore
* fix tests
* fix binary_sensor template
2017-03-02 14:09:53 +01:00
Pascal Vizeli
50887e7e2c
Move dispatcher out of init. ( #6355 )
2017-03-02 10:20:57 +01:00
Pascal Vizeli
f3870a8a48
Template binary_sensor change flow / add restore ( #6343 )
...
* Template binary_sensor change flow / add restore
* fix lint
2017-03-02 08:50:41 +01:00
Pascal Vizeli
6cb8a36cf1
Template sensor change flow / add restore ( #6336 )
2017-03-02 07:38:19 +02:00
Pascal Vizeli
52b1e13aca
Bugfix ZigBee / Move from eventbus to dispatcher ( #6333 )
...
* Bugfix ZigBee / Move from eventbus to dispatcher
* fix lint
2017-03-01 08:57:53 -08:00
Pascal Vizeli
67f3910f03
Bugfix ZigBee / Move from eventbus to dispatcher ( #6333 )
...
* Bugfix ZigBee / Move from eventbus to dispatcher
* fix lint
2017-03-01 08:57:23 -08:00
Pascal Vizeli
4e96e461f7
Cleanup component track_point_in_utc_time usage ( #6330 )
2017-03-01 07:37:48 -08:00
Pascal Vizeli
41f558b181
Bootstrap / Component setup async ( #6264 )
...
* Bootstrap / Entiy setup async
* Cleanup add_job stuff / return task/future object
* Address paulus comments / part 1
* fix install pip
* Cleanup bootstrap / move config stuff to config.py
* Make demo async
* Further bootstrap improvement
* Address Martin's comments
* Fix initial tests
* Fix final tests
* Fix bug with prepare loader
* Remove no longer needed things
* Log error when invalid config
* More cleanup
* Cleanups platform events & fix lint
* Use a non blocking add_entities callback for platform
* Fix Autoamtion is setup befor entity is ready
* Better automation fix
* Address paulus comments
* Typo
* fix lint
* rename functions
* fix tests
* fix test
* change exceptions
* fix spell
2017-02-28 20:33:19 -08:00
Pascal Vizeli
aa1f64bed6
Migrate calendar setup to async. ( #6305 )
2017-02-28 10:49:06 +01:00
Pascal Vizeli
3d26ac3323
Bugfix mqtt paho client to speend time ( #6266 )
2017-02-26 20:31:11 -08:00
Pascal Vizeli
9403cdd2a5
Bugfix mqtt socket error ( #6256 )
2017-02-26 20:31:11 -08:00
Pascal Vizeli
31ddcc6278
Bugfix mqtt paho client to speend time ( #6266 )
2017-02-26 15:28:54 -08:00
Pascal Vizeli
5932446508
Bugfix mqtt socket error ( #6256 )
2017-02-26 14:43:02 -08:00
Pascal Vizeli
48cf7a4af9
Move ffmpeg to dispatcher from hass.data entity store. ( #6211 )
...
* Move ffmpeg to dispatcher from hass.data entity store.
* fix lint
* address paulus comments
* add more unittest for better coverage
2017-02-26 14:31:46 -08:00
Pascal Vizeli
7fcc3ae00a
Refactory of envisalink ( #6160 )
...
* Refactory of envisalink
* remove event buss
* init dispatcher from hass.
* Move platform to new dispatcher
* fix lint
* add unittest & threadded functions
* fix copy & past error
2017-02-25 14:35:27 -08:00
Pascal Vizeli
81ca978413
Move mqtt from eventbus to dispatcher / add unsub for dispatcher ( #6206 )
...
* Move mqtt from eventbus to dispatcher / add unsub for dispatcher
* Fix lint
* Fix test
* Fix lint v2
* fix dispatcher_send
2017-02-24 17:11:50 -08:00
Pascal Vizeli
f2a2d6bfa1
Refactory of envisalink ( #6160 )
...
* Refactory of envisalink
* remove event buss
* init dispatcher from hass.
* Move platform to new dispatcher
* fix lint
* add unittest & threadded functions
* fix copy & past error
2017-02-23 13:02:56 -08:00
Pascal Vizeli
106b7a9d8f
Cleanup run_callback_threadsafe ( #6187 )
...
* Cleanup run_callback_threadsafe
* fix spell
* Revert image_processing, they need to wait for update
2017-02-23 12:57:25 -08:00
Pascal Vizeli
1cd1facbd0
Add device_class to image_processing ( #6186 )
...
* Add image_processing device_class
* Fix comments
* address comments
2017-02-23 17:33:54 +01:00
Pascal Vizeli
b725eaf67f
Homematic icon map / upper case on services ( #6178 )
...
* Set upper on service / add sensor icon mapper
* Add more icons
* fix id
2017-02-23 15:31:32 +01:00
Pascal Vizeli
b0d3bbed79
Convert mqtt platforms to async ( #6145 )
...
* Convert mqtt platforms to async
* fix lint
* add more platforms
* convert mqtt_eventstream
* fix lint / add mqtt_room
* fix lint
* fix test part 1
* fix test part 2
* fix out of memory bug
* address comments
2017-02-22 09:43:22 +01:00
Pascal Vizeli
8983b826c4
Bugfix automation state linsteners ( #6120 )
...
* Bugfix automation state linsteners
* address paulus comments.
* fix lint
* fix lint v2
2017-02-22 00:02:37 -08:00
Pascal Vizeli
10fb30e924
Update jinja to 2.9.5 ( #6146 )
2017-02-21 09:05:44 -08:00
Pascal Vizeli
1910440a3c
Update aiohttp to 1.3.3 ( #6129 )
2017-02-20 21:29:38 -08:00
Pascal Vizeli
1d7ab0fa95
Cleanup some async stuff ( #6127 )
...
* Cleanup some async stuff
* change to schedule_update_ha_state()
* fix media player
* fix zigbee
2017-02-20 13:24:03 -08:00
Pascal Vizeli
e425801fe0
Homematic cleanup & hass best praxis ( #6121 )
2017-02-20 17:07:33 +01:00
Pascal Vizeli
1a4b62909b
Pump ffmpeg to 1.5 ( #6119 )
2017-02-20 15:12:09 +01:00
Pascal Vizeli
5d8e219448
Update aiohttp handling with upc connect ( #6108 )
...
* Refactor upc connect
* fix aiohttp cleanup
* fix test
* fix tests
* allow status code for login
2017-02-19 23:25:45 +01:00
Pascal Vizeli
e1cbd6b4c0
MQTT convert to async ( #6064 )
...
* Migrate mqtt to async
* address paulus comment / convert it complet async
* adress paulus comment / remove future
* Automation triggers should be async
* Fix MQTT async calls
* Show that event helpers are callbacks
* Fix tests
* Lint
2017-02-18 14:17:18 -08:00
Pascal Vizeli
a496a7c792
Protect device_tracker scan interval / TTS logging ( #6041 )
...
* Protect device_tracker scan interval / TTS logging
* clear pass
2017-02-16 07:13:33 -08:00
Pascal Vizeli
2574b915dd
Fix name in logging message ( #6039 )
...
Add an optional extended description…
2017-02-16 10:30:12 +01:00
Pascal Vizeli
6674a8ad57
[Device Tracker] Remove coro ( #6014 )
...
* Remove coro and make flow faster.
* fix lint
* address comments
2017-02-15 19:52:06 -08:00
Pascal Vizeli
d6f525a23f
Bugfix sonos favorite_source after lost connection ( #5996 )
2017-02-14 21:38:56 -08:00
Pascal Vizeli
80bc2666ac
Make homematic climate dynamic for datapoints. ( #5993 )
...
* Make homematic climate dynamic for datapoints.
* Code cleanup
* Add more option
* add options
* Pump version 0.1.22
* optimaze
2017-02-14 23:19:57 +01:00
Pascal Vizeli
30ad8bcc80
Bugfix sonos favorite_source after lost connection ( #5996 )
2017-02-14 11:59:54 -08:00
Pascal Vizeli
4b8e6e36b6
Make EntityComponent update process more robust. ( #5943 )
...
* Make EntityComponent update process more robust.
* address paulus comments
* Add platform to log message.
2017-02-14 09:32:40 -08:00
Pascal Vizeli
41849eab06
Core cleanup: two stage shutdown ( #5876 )
...
* Core cleanup: two stage shutdown
* fix spell
* fix
* add async logger to close
* change aiohttp to use CLOSE
* address paulus comments
* Fix tests
* Add unittest
2017-02-13 06:24:07 +01:00
Pascal Vizeli
9aac2113b6
Add 'wait_template' to script commands / Refactory track_template ( #5827 )
...
* Add 'wait' to script commands.
* Add track_template + unittest / rename wait_template
* fix lint & test
* Fix handling / change automation-template / add tests
* address paulus comments
2017-02-12 13:27:53 -08:00
Pascal Vizeli
eaa6392535
Fix check_config script. ( #5853 )
2017-02-10 20:55:34 -08:00
Pascal Vizeli
3f87d28616
Update aiohttp 1.3.1 ( #5838 )
2017-02-10 20:55:33 -08:00
Pascal Vizeli
4e8d20328a
Fix check_config script. ( #5853 )
2017-02-10 08:51:08 -08:00
Pascal Vizeli
8785e5826e
telegram small cleanup/style ( #5852 )
2017-02-10 16:39:02 +01:00
Pascal Vizeli
2e8e5a35b5
Update aiohttp 1.3.1 ( #5838 )
2017-02-09 17:31:20 -08:00
Pascal Vizeli
2cbed9cd96
Move signal handling out of core to bootstrap ( #5815 )
...
* Move signal handling out of core to bootstrap
* Fix tests
2017-02-08 21:58:45 -08:00
Pascal Vizeli
d29b7f6910
Ffmpeg update 1.4 ( #5813 )
...
* Pump ffmpeg version
* update entity
* next 1.4
2017-02-08 23:18:23 +01:00
Pascal Vizeli
881d53339b
[Image_Processing][Breaking Change] Cleanup Base face class add support for microsoft face detect ( #5802 )
...
* [Image_Processing] Cleanup Base face class add support for microsoft face detect
* fix lint
* add unittest for micosoft detect
* fix test
2017-02-08 09:19:40 -08:00
Pascal Vizeli
3f82ef64a1
Move core service from core to components ( #5787 )
...
* Move core servcie from core to components
* add new handler for signals/exception
* Static persistent id
* Move unittest
* fix coro/callback
* Add more unittest for new services
* Address comments
* Update __init__.py
2017-02-08 09:17:52 -08:00