hass-core/tests/helpers
Lukas Barth 236d5f8742 Add an input_datetime (#9313)
* Initial proposal for the input_datetime

* Linting

* Further linting, don't define time validation twice

* Make pylint *and* flake8 happy at the same time

* Move todos to the PR to make lint happy

* Actually validate the type of date/time

* First testing

* Linting

* Address code review issues

* Code review: Remove forgotten print()s

* Make set_datetime a coroutine

* Create contains_at_least_one_key_value CV method, use it

* Add timestamp to the attributes

* Test and fix corner case where restore data is bogus

* Add FIXME

* Fix date/time setting

* Fix Validation

* Merge date / time validation, add tests

* Simplify service data validation

* No default for initial state, allow 'unknown' as state

* cleanup

* fix schema
2017-09-28 23:57:49 +02:00
..
__init__.py Fix PEP257 issues 2016-03-09 11:15:04 +01:00
test_aiohttp_client.py aiohttp 2 (#6835) 2017-03-30 00:50:53 -07:00
test_condition.py Optimize template 2 (#3521) 2016-09-27 21:29:55 -07:00
test_config_validation.py Add an input_datetime (#9313) 2017-09-28 23:57:49 +02:00
test_deprecation.py Add tests for deprecation helpers (#7452) 2017-05-06 10:10:48 -07:00
test_discovery.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_dispatcher.py Move mqtt from eventbus to dispatcher / add unsub for dispatcher (#6206) 2017-02-24 17:11:50 -08:00
test_entity.py Cleanup and simplitfy the async state update (#9390) 2017-09-12 10:01:03 +02:00
test_entity_component.py Fix a bunch of typos (#9545) 2017-09-23 17:15:46 +02:00
test_entity_values.py Simplify customize (#6007) 2017-02-15 19:47:30 -08:00
test_event.py Core track same state for a period / Allow on platforms (#9273) 2017-09-05 02:01:01 +02:00
test_init.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
test_location.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
test_restore_state.py Tweak recorder/restore_state (#6412) 2017-03-05 10:52:08 +01:00
test_script.py Add 'wait_template' to script commands / Refactory track_template (#5827) 2017-02-12 13:27:53 -08:00
test_service.py Remove event decorators (#6634) 2017-03-15 14:46:57 +01:00
test_state.py Add support for Prometheus (#8211) 2017-07-10 21:20:17 -07:00
test_sun.py Refactor sun component for correctness (#7295) 2017-05-09 00:03:34 -07:00
test_template.py Allow getting number of available states in template (#9158) 2017-08-27 18:33:25 +02:00