Commit graph

10 commits

Author SHA1 Message Date
Paulus Schoutsen
2af984917e
Use asynctest-mock in most places ()
* Use asynctest-mock in most places

* Fix broken patch in pilight
2020-05-03 11:27:19 -07:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 () 2020-04-30 13:29:50 -07:00
Paulus Schoutsen
77443b3d09
Add Home Assistant Started event () 2020-04-24 14:13:39 -07:00
Ville Skyttä
5216477353
Be consistent with Home Assistant and Hass.io spelling ()
* Be consistent with Home Assistant spelling

* Be consistent with Hass.io spelling
2020-01-05 14:09:17 +02:00
Bas Nijholt
d3f67c3841 use isort to sort imports according to PEP8 for automation () 2019-12-08 21:59:39 +05:30
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
Franck Nijhof
d648eb1e4f Minor improvements to automation test suite ()
* Minor improvements to automation test suite

* Removes unused asyncio imports

* Removes some vars that are not needed
2019-06-08 19:10:23 -05:00
Paulus Schoutsen
7887d6d6e4
Fix automation failing to restore state ()
* Fix automation off

* Fix tests
2019-06-07 23:08:22 -07:00
Paulus Schoutsen
7bf6ceafec Split mock_service () 2017-06-25 10:53:15 -07:00
Paulus Schoutsen
29f385ea76 Fix automations listening to HOMEASSISTANT_START ()
* 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