Pascal Vizeli
90f9a6bc0a
Cleanup and simplitfy the async state update ( #9390 )
...
* Cleanup and simplitfy the async state update
* Update test_entity.py
2017-09-12 10:01:03 +02:00
Fabian Affolter
a4f1f6e724
Update docstrings ( #7374 )
...
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstring
* Update docstrings
* Update docstrings
* Fix lint issues
* Update docstrings
* Revert changes in dict
2017-05-02 09:18:47 -07:00
Paulus Schoutsen
29f385ea76
Fix automations listening to HOMEASSISTANT_START ( #6936 )
...
* Fire EVENT_HOMEASSISTANT_START automations off right away while starting
* Actually have core state be set to 'starting' during boot
* Fix correct start implementation
* Test and deprecate event automation platform on start
* Fix doc strings
* Remove shutting down exception
* More strict when to mark an instance as finished
* Add automation platform to listen for start/shutdown
* When we stop we should wait till it's all done
* Fix testing
* Fix async bugs in tests
* Only set UVLOOP when hass starts from CLI
* This hangs normal asyncio event loop
* Clean up Z-Wave node entity test
2017-04-05 23:23:02 -07: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
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
Fabian Affolter
be272ac64a
Disable too-many-* ( #4107 )
...
* Disable too-many-* and too-few-public-methods
* Remove globally disabled pylint warnings
2016-10-30 22:18:53 +01:00
Heiko Rothe
8da85d7a91
Added away timeout setting for idle devices ( #3321 )
2016-09-13 20:34:59 -07:00
Fabian Affolter
911231afc1
Use constants and update ordering ( #3266 )
2016-09-09 08:37:30 +02:00
Heiko Rothe
6aa0789e38
MQTT room presence detection ( #2913 )
...
* Added room presence tracker
* Fixed room/device discovery bugs
* Added tests for room tracker
* Fixed some formatting mistakes
* Fixed a tiny bug with the track new option
* Converted device tracker into sensor
* Removed leftover service entry
* Changed name to mqtt_room
* Changed payload validation to voluptuous
* Fixed validation
* Removed sleep from tests
2016-08-20 20:49:38 -07:00