core/tests/components/template
kbickar 7564d1fb52 Added toggle service to covers (#23198)
* Added toggle service to cover

* Added toggle tilt service and tilt closed property

* Added is_tilt_closed so tilt can be toggled

* Added toggle services

* Added toggle tilt service

* Removed spaces

* Added tests for tilt services

* Updated tests

* Added range conversion in comparison

* Added tests to cover broken areas

* Fixed open/close tilt values and added toggle function

* Added default toggle behavior using tilt_position of 0, reverted other changes

* blank space

* Added constants and swapped assert comparisons

* Fixed attribute name

* Added mqtt responses in test

* Added constants

* Space

* Fix tilt_optimistic flag being ignored if status topic set

* Added more tests

* Changed async toggle call

* Updated group tilt test

* Updated format of asserts

* Updated states calls

* Updated function variables

* merge fixes

* Added blank line

* Changed calls to async

* More async updates
2019-06-17 14:09:31 -07:00
..
__init__.py Consolidate all platforms that have tests (#22109) 2019-03-18 23:07:39 -07:00
test_binary_sensor.py Consolidate all platforms that have tests (#22109) 2019-03-18 23:07:39 -07:00
test_cover.py Added toggle service to covers (#23198) 2019-06-17 14:09:31 -07:00
test_fan.py Convert some test helpers to coroutines and adjust tests (#23352) 2019-04-25 10:14:16 +02:00
test_light.py Consolidate all platforms that have tests (#22109) 2019-03-18 23:07:39 -07:00
test_lock.py Consolidate all platforms that have tests (#22109) 2019-03-18 23:07:39 -07:00
test_sensor.py Consolidate all platforms that have tests (#22109) 2019-03-18 23:07:39 -07:00
test_switch.py Consolidate all platforms that have tests (#22109) 2019-03-18 23:07:39 -07:00