Alexei Chetroi
5fa7d6f22a
Allow input_* and timer component setup without config ( #30772 )
...
* Allow input_boolean setup without config.
* Allow input_number setup without config.
* Allow input_select setup without config.
* Allow input_text setup without config.
* Allow timer setup without config.
2020-01-14 22:15:59 -05:00
Alexei Chetroi
0a7feba855
Use storage based collections for Timer platform ( #30765 )
...
* Use config dict for timer entity.
* Manage timer entities using collection helpers.
* Add tests.
* Make Timer duration JSON serializable.
2020-01-14 15:32:48 -08:00
Paulus Schoutsen
5fdc60e067
Add Safe Mode ( #30723 )
...
* Store last working HTTP settings
* Add safe mode
* Fix tests
* Add cloud to safe mode
* Update logging text
* Fix camera tests leaving files behind
* Make emulated_hue tests not leave files behind
* Make logbook tests not leave files behind
* Make tts tests not leave files behind
* Make image_processing tests not leave files behind
* Make manual_mqtt tests not leave files behind
2020-01-14 13:03:02 -08:00
Markus Nigbur
453f7c7294
Fire restarted event on restarting active timer ( #30475 )
...
* Fire restarted event on restarting active timer
* Added test for the restart event
2020-01-07 00:00:23 +01:00
Phil Bruckner
e233dd7cbe
Fix timer with empty config ( #30463 )
2020-01-04 23:01:58 +01:00
Franck Nijhof
33828ae514
Migrate timer tests from coroutine to async/await ( #30352 )
2020-01-01 16:20:18 +01:00
Alexei Chetroi
41bef4b919
Add timer reload service. ( #30015 )
2019-12-18 21:15:11 +01:00
Bas Nijholt
de915e1bf0
Sort imports according to PEP8 for components starting with "T" ( #29778 )
2019-12-09 14:41:48 +01:00
Santobert
50e9a9df4f
Timer reproduce state ( #28117 )
2019-10-22 23:12:17 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Robbert Müller
9928b977fd
Added events STARTED, RESTARTED AND PAUSED ( #19516 )
...
Rewrote the tests a bit
the 'wait for the timer to finish' part of the test is now it's own test.
The rest is a sequence of fire/assert. Which i rewrote to a loop to
reduce the amount of duplicate code
2018-12-29 16:40:17 +01:00
Adam Mills
66f1643de5
Async timer tests ( #18683 )
2018-11-24 16:12:19 -05:00
Paulus Schoutsen
08fe7c3ece
Pytest tests ( #17750 )
...
* Convert core tests
* Convert component tests to use pytest assert
* Lint 🤷♂️
* Fix test
* Fix 3 typos in docs
2018-10-24 12:10:05 +02:00
Pascal Vizeli
0f7a4b1d6f
Move timer into correct folder ( #10324 )
...
* Move timer into correct folder
* Rename tests/components/test_timer.py to tests/components/timer/test_timer.py
* create init for test component
* Fix services.yaml loading
2017-11-03 21:10:08 -07:00