core/tests/components/mqtt
Jan Bouwhuis c9eab10134
Add MQTT humidifier platform integration (#52828)
* New mqtt humidifier platform

* Add humidifier platform

* Leave out humidity step

* Use humidity in constant for payload reset

* change TARGET_HUMIDITY_RESET payload name

* _attr_max_humidity not assigned correctly

* _target_humidity_range has a zero base

* align CONF_TARGET_HUMIDITY_MIN and MAX  with model

* shorter topics for humidity_range

* Converts float to int from template

* new humidifier abbreviations

* Add common module to support tests

* Add tests

* Addtional testing

* Always require target_humidity_command_topic

* Typo

* use available_modes to align entity model

* use avail_modes not modes to avoid conflict

* typo target_humidity_value_template

* Allign modes and templates with climate platform

* mode_state_template

* target_humidity_state_template

* Typo in platform name

* Remove humidity_range feature and common lib

* Update homeassistant/components/mqtt/humidifier.py

Use vol.In, not regex

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

* black

* Update homeassistant/components/mqtt/humidifier.py

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

* Use round to convert float to target humidity

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-07-15 11:12:23 +02:00
..
__init__.py
conftest.py
test_alarm_control_panel.py Filter MQTT alarm JSON attributes (#52278) 2021-06-29 10:32:23 +02:00
test_binary_sensor.py
test_camera.py Filter MQTT camera JSON attributes (#52279) 2021-06-29 12:14:02 +02:00
test_climate.py Filter MQTT climate JSON attributes (#52280) 2021-06-29 11:13:58 +02:00
test_common.py Add test to MQTT device tracker (#52292) 2021-06-29 11:33:26 +02:00
test_config_flow.py
test_cover.py Fix MQTT cover optimistic mode (#52392) 2021-07-01 17:34:59 +02:00
test_device_tracker.py
test_device_tracker_discovery.py Add test to MQTT device tracker (#52292) 2021-06-29 11:33:26 +02:00
test_device_trigger.py
test_discovery.py
test_fan.py Filter MQTT fan JSON attributes (#52283) 2021-06-29 11:18:50 +02:00
test_humidifier.py Add MQTT humidifier platform integration (#52828) 2021-07-15 11:12:23 +02:00
test_init.py
test_legacy_vacuum.py Filter MQTT vacuum JSON attributes (#52291) 2021-06-29 11:21:22 +02:00
test_light.py Filter MQTT light JSON attributes (#52242) 2021-06-28 14:37:26 +02:00
test_light_json.py Filter MQTT light JSON attributes (#52242) 2021-06-28 14:37:26 +02:00
test_light_template.py Filter MQTT light JSON attributes (#52242) 2021-06-28 14:37:26 +02:00
test_lock.py Filter MQTT lock JSON attributes (#52285) 2021-06-29 11:16:07 +02:00
test_number.py Filter MQTT number JSON attributes (#52286) 2021-06-29 11:16:57 +02:00
test_scene.py
test_select.py Filter MQTT select JSON attributes (#52288) 2021-06-29 11:22:58 +02:00
test_sensor.py Filter MQTT sensor JSON attributes (#52289) 2021-06-29 11:19:40 +02:00
test_state_vacuum.py Filter MQTT vacuum JSON attributes (#52291) 2021-06-29 11:21:22 +02:00
test_subscription.py
test_switch.py Filter MQTT switch JSON attributes (#52290) 2021-06-29 11:22:25 +02:00
test_tag.py
test_trigger.py