core/tests/components/mqtt
Jan Bouwhuis 5b17aaf9d5
Percentage and preset mode support for MQTT fan (#47944)
* git push --all origin

* Fix percentage to ordered list conversion

* Tests for mqtt fan and fixes

* Improve tests and error handling base config

* Additional tests

* Tests completed, small fixes

* Allow preset mode and percentages combined

* Remove raise in setup and update tests

* Alignment with fan entity mode

* Fix pylint for len-as-condition

* Remove python binary cache file from PR

* Additional tests on async_turn_on and fix

* Added comments for deprecation of speeds

* Schema checks before init

* Optimize pre schema checks

* Correct schema checks

* Update homeassistant/components/mqtt/abbreviations.py

Comment speeds for mqtt fan are deprecated not needed here

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/mqtt/fan.py

Comment speeds for mqtt fan are deprecated not needed here

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/mqtt/fan.py

Comment speeds for mqtt fan are deprecated not needed here

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/mqtt/fan.py

Comment speeds for mqtt fan are deprecated not needed here

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/mqtt/fan.py

Comment speeds for mqtt fan are deprecated not needed here

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Warnings for exceptions - testing speed_range

* Update homeassistant/components/mqtt/abbreviations.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/mqtt/fan.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/mqtt/fan.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/mqtt/fan.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/mqtt/fan.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/mqtt/fan.py

* Save with black

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-03-26 08:37:47 +01:00
..
__init__.py
conftest.py Lint suppression cleanups (#47248) 2021-03-02 09:02:04 +01:00
test_alarm_control_panel.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_binary_sensor.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_camera.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_climate.py Added command templates for the mqtt climate component. (#44976) 2021-01-26 16:12:33 +01:00
test_common.py Add suggested_area to MQTT discovery (#47903) 2021-03-15 20:02:02 +01:00
test_config_flow.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_cover.py Yoda assertion style removed is (#48142) 2021-03-20 13:55:10 +01:00
test_device_tracker.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_device_tracker_discovery.py Add support for pre-filtering events to the event bus (#46371) 2021-02-14 09:42:55 -10:00
test_device_trigger.py Update tests i-o to use async_get() instead of async_get_registry() (#47653) 2021-03-09 14:32:08 +01:00
test_discovery.py Add suggested_area to MQTT discovery (#47903) 2021-03-15 20:02:02 +01:00
test_fan.py Percentage and preset mode support for MQTT fan (#47944) 2021-03-26 08:37:47 +01:00
test_init.py Update tests i-o to use async_get() instead of async_get_registry() (#47653) 2021-03-09 14:32:08 +01:00
test_legacy_vacuum.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_light.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_light_json.py MQTT Light: Use flash attribute in async_turn_off (#47919) 2021-03-15 11:24:07 +01:00
test_light_template.py Allow MQTT template light floating point transition (#46385) 2021-02-11 14:57:27 +01:00
test_lock.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_number.py Add MQTT Number (non optimistic) (#44883) 2021-01-08 23:43:14 +01:00
test_scene.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_sensor.py Update tests i-o to use async_get() instead of async_get_registry() (#47653) 2021-03-09 14:32:08 +01:00
test_state_vacuum.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_subscription.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_switch.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_tag.py Update tests i-o to use async_get() instead of async_get_registry() (#47653) 2021-03-09 14:32:08 +01:00
test_trigger.py Yoda assertion style removed is (#48142) 2021-03-20 13:55:10 +01:00