hass-core/tests/components/mqtt
Mike K 799d527fb5
Add MQTT climate setting for current humidity (#84592)
* MQTT Climate: Add support for setting the current humidity via MQTT

* MQTT Climate: Add configuration constants related to setting the target humidity

* MQTT Climate: Add support for setting the humidity's state topic & template

* MQTT Climate: Add support for setting the initial humidity

* MQTT Climate: Add support for setting the humidity's command topic & template

* MQTT Climate: Add support for setting the min/max humidity

* MQTT Climate: Fix style & tests

* MQTT Climate: Set the initial humidity to None

* MQTT Climate: Rename _set_mqtt_attribute to _set_climate_attribute and handle_temperature_received to handle_climate_attribute_received

* MQTT Climate: Copy humidity range validation from MQTT Humidifier

* MQTT Climate: Remove CONF_HUMIDITY_INITIAL

* MQTT Climate: Only enable support for TARGET_HUMIDITY when the command topic is set

* MQTT Climate: Check if setting the target humidity is supported before actually setting it

* MQTT Climate: Make sure that CONF_HUMIDITY_COMMAND_TOPIC has been configured when setting CONF_HUMIDITY_STATE_TOPIC

* MQTT Climate: Fix broken tests

* MQTT Climate: Add test for optimistically setting the target humidity

* MQTT Climate: Remove references to "temperature" in handle_climate_attribute_received

* MQTT Climate: Add additional humidity-related tests

* MQTT Climate: Remove supported feature check in handle_target_humidity_received

It's not needed because this is covered by the `valid_humidity_state_configuration` validation.

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>

* MQTT Climate: Remove supported feature check in async_set_humidity

It is covered by the base Climate entity.

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2023-01-03 22:57:20 +01:00
..
__init__.py
conftest.py Do not depend MQTT CI tests on debug logs (#84783) 2022-12-29 18:29:28 +01:00
test_alarm_control_panel.py Remove legacy YAML support from MQTT (#82102) 2022-11-17 22:55:31 +01:00
test_binary_sensor.py Do not depend MQTT CI tests on debug logs (#84783) 2022-12-29 18:29:28 +01:00
test_button.py Remove legacy YAML support from MQTT (#82102) 2022-11-17 22:55:31 +01:00
test_camera.py Remove legacy YAML support from MQTT (#82102) 2022-11-17 22:55:31 +01:00
test_climate.py Add MQTT climate setting for current humidity (#84592) 2023-01-03 22:57:20 +01:00
test_common.py Do not depend MQTT CI tests on debug logs (#84783) 2022-12-29 18:29:28 +01:00
test_config_flow.py Do not depend MQTT CI tests on debug logs (#84783) 2022-12-29 18:29:28 +01:00
test_cover.py Remove legacy YAML support from MQTT (#82102) 2022-11-17 22:55:31 +01:00
test_device_tracker.py Allow MQTT device trackers to be able to the reset the location name for auto zone inference (#83952) 2022-12-20 17:38:40 +01:00
test_device_trigger.py Use hass.config_entries.async_setup in mqtt test (#77750) 2022-09-03 15:44:50 +02:00
test_diagnostics.py Add Mqtt WebSockets support (#82078) 2022-11-23 15:03:31 +01:00
test_discovery.py Clean up or correct from removed deprecation for MQTT platform (#82684) 2022-11-25 16:11:22 +01:00
test_fan.py Do not depend MQTT CI tests on debug logs (#84783) 2022-12-29 18:29:28 +01:00
test_humidifier.py Do not depend MQTT CI tests on debug logs (#84783) 2022-12-29 18:29:28 +01:00
test_init.py Do not depend MQTT CI tests on debug logs (#84783) 2022-12-29 18:29:28 +01:00
test_legacy_vacuum.py Remove legacy YAML support from MQTT (#82102) 2022-11-17 22:55:31 +01:00
test_light.py Add hs_command_template and xy_command_template to mqtt light default schema (#84988) 2023-01-03 12:58:00 +01:00
test_light_json.py Remove legacy YAML support from MQTT (#82102) 2022-11-17 22:55:31 +01:00
test_light_template.py Remove legacy YAML support from MQTT (#82102) 2022-11-17 22:55:31 +01:00
test_lock.py Remove legacy YAML support from MQTT (#82102) 2022-11-17 22:55:31 +01:00
test_mixins.py Fix state saving when sharing topics for MQTT entities (#79421) 2022-10-11 10:49:54 +02:00
test_number.py Remove legacy YAML support from MQTT (#82102) 2022-11-17 22:55:31 +01:00
test_scene.py Remove legacy YAML support from MQTT (#82102) 2022-11-17 22:55:31 +01:00
test_select.py Remove legacy YAML support from MQTT (#82102) 2022-11-17 22:55:31 +01:00
test_sensor.py Do not depend MQTT CI tests on debug logs (#84783) 2022-12-29 18:29:28 +01:00
test_siren.py Do not depend MQTT CI tests on debug logs (#84783) 2022-12-29 18:29:28 +01:00
test_state_vacuum.py Remove legacy YAML support from MQTT (#82102) 2022-11-17 22:55:31 +01:00
test_subscription.py Configure autoflake for pre-commit (#82414) 2022-11-22 08:10:36 +01:00
test_switch.py Remove legacy YAML support from MQTT (#82102) 2022-11-17 22:55:31 +01:00
test_tag.py Add hw_version to MQTT device info (#77210) 2022-08-25 11:55:33 +02:00
test_text.py Add mqtt text platform (#82884) 2022-11-29 20:31:05 +01:00
test_trigger.py Fix TemplateError definition (#82570) 2022-11-23 20:30:32 +01:00
test_update.py Handle numeric versions in mqtt update (#83218) 2022-12-04 21:52:48 +01:00
test_util.py Move advanced MQTT options to entry (#79351) 2022-10-24 09:58:23 +02:00