core/tests/components/mqtt
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 Tweak Recorder 2016-07-11 08:56:07 -07:00
conftest.py Move mqtt_mock to tests/components/mqtt/conftest.py (#20621) 2019-01-31 21:22:29 +01:00
test_alarm_control_panel.py Convert some test helpers to coroutines and adjust tests (#23352) 2019-04-25 10:14:16 +02:00
test_binary_sensor.py Improve MQTT tests (#23296) 2019-04-22 08:48:50 -04:00
test_camera.py Drop unnecessary block_till_done, improve tests (#23248) 2019-04-19 14:08:02 -07:00
test_climate.py Convert some test helpers to coroutines and adjust tests (#23352) 2019-04-25 10:14:16 +02:00
test_config_flow.py Test fixes (#22911) 2019-04-08 23:16:55 -07:00
test_cover.py Added toggle service to covers (#23198) 2019-06-17 14:09:31 -07:00
test_device_tracker.py Restructure device tracker (#23862) 2019-05-15 23:43:45 +02:00
test_discovery.py Drop unnecessary block_till_done for MQTT tests (#23254) 2019-04-19 14:59:16 -07:00
test_fan.py Convert some test helpers to coroutines and adjust tests (#23352) 2019-04-25 10:14:16 +02:00
test_init.py Rename via_hub to via_device (#24360) 2019-06-10 09:10:44 -07:00
test_legacy_vacuum.py No longer allow invalid slugs or extra keys (#24176) 2019-05-30 13:33:26 +02:00
test_light.py Convert some test helpers to coroutines and adjust tests (#23352) 2019-04-25 10:14:16 +02:00
test_light_json.py Convert some test helpers to coroutines and adjust tests (#23352) 2019-04-25 10:14:16 +02:00
test_light_template.py Improve MQTT tests (#23296) 2019-04-22 08:48:50 -04:00
test_lock.py Convert some test helpers to coroutines and adjust tests (#23352) 2019-04-25 10:14:16 +02:00
test_sensor.py Rename via_hub to via_device (#24360) 2019-06-10 09:10:44 -07:00
test_server.py Test fixes (#22911) 2019-04-08 23:16:55 -07:00
test_state_vacuum.py No longer allow invalid slugs or extra keys (#24176) 2019-05-30 13:33:26 +02:00
test_subscription.py Improve MQTT tests (#23296) 2019-04-22 08:48:50 -04:00
test_switch.py Convert some test helpers to coroutines and adjust tests (#23352) 2019-04-25 10:14:16 +02:00