Files
core/tests/components
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
..
2022-09-20 18:33:45 +02:00
2022-10-13 07:31:33 -06:00
2022-11-29 22:36:36 +01:00
2022-11-29 22:36:36 +01:00
2023-01-02 18:14:14 +01:00
2022-04-20 08:56:05 +02:00
2022-12-20 17:54:17 +01:00
2022-09-20 10:50:07 -04:00
2022-04-26 23:09:10 -07:00
2022-11-13 18:23:14 -06:00
2022-09-28 07:41:33 +02:00
2022-11-29 22:36:36 +01:00
2022-10-15 13:57:23 -04:00
2022-12-27 11:07:10 +01:00
2022-11-29 22:36:36 +01:00
2022-11-29 22:36:36 +01:00
2022-11-29 22:36:36 +01:00
2022-11-29 22:36:36 +01:00
2022-09-20 18:33:45 +02:00
2022-12-13 23:32:30 -05:00
2022-11-28 16:51:43 +01:00
2022-10-15 13:57:23 -04:00
2022-09-28 08:06:24 +02:00
2022-11-29 22:36:36 +01:00
2022-11-07 14:40:23 +01:00
2022-11-14 12:20:45 -06:00
2022-11-29 22:36:36 +01:00
2022-09-09 08:57:14 +02:00
2022-10-15 13:57:23 -04:00
2022-11-29 22:36:36 +01:00
2022-11-29 22:36:36 +01:00
2022-04-26 16:32:00 +02:00
2022-11-29 22:36:36 +01:00
2022-10-31 11:09:15 +01:00
2022-08-17 22:37:47 -04:00
2022-12-06 13:27:58 +01:00
2023-01-03 17:32:39 +01:00
2021-11-01 20:47:05 -07:00
2023-01-03 17:32:10 +01:00
2023-01-02 20:49:55 -05:00
2022-12-27 11:07:10 +01:00
2022-12-27 11:07:10 +01:00
2022-11-13 16:05:54 +01:00
2022-11-29 22:36:36 +01:00
2022-10-21 22:54:42 +02:00
2022-09-13 10:07:38 +02:00
2022-12-05 10:53:05 +01:00
2021-11-01 20:47:05 -07:00
2022-11-29 22:36:36 +01:00
2022-11-23 11:25:21 +01:00
2022-09-19 15:22:23 +02:00
2022-01-13 15:32:39 +01:00
2022-12-05 20:08:05 +01:00