core/tests
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
..
auth Upgrade pytest-aiohttp (#82475) 2022-11-29 22:36:36 +01:00
backports
components Add MQTT climate setting for current humidity (#84592) 2023-01-03 22:57:20 +01:00
fixtures Add device HmIP-DRDI3 (#83337) 2022-12-18 12:44:49 -07:00
hassfest Replace attrs with dataclasses in hassfest (#84475) 2022-12-23 15:46:00 +01:00
helpers Revert "Add aliases to device registry items" (#84976) 2023-01-02 12:30:25 +01:00
pylint Remove str from cover device class (#83396) 2022-12-06 16:13:29 +01:00
resources
scripts Upgrade pytest-aiohttp (#82475) 2022-11-29 22:36:36 +01:00
test_util
testing_config Remove lumen from Illuminance units (#84386) 2022-12-27 14:25:47 +01:00
util Add mA to SensorDeviceClass.CURRENT units (#84492) 2022-12-30 13:55:14 +01:00
__init__.py
bandit.yaml
common.py Import mqtt and recorder locally in test fixtures (#85067) 2023-01-03 20:18:36 +01:00
conftest.py Import mqtt and recorder locally in test fixtures (#85067) 2023-01-03 20:18:36 +01:00
ignore_uncaught_exceptions.py
test_bootstrap.py Upgrade pytest-aiohttp (#82475) 2022-11-29 22:36:36 +01:00
test_config.py Raise repairs issue if country is not configured (#82685) 2022-11-28 09:54:13 +01:00
test_config_entries.py Fix thundering heard in setup_again when there are many integrations (#84670) 2022-12-27 15:59:42 -10:00
test_core.py Allow only specific packages to be skipped during startup dependency installation (#82758) 2022-11-30 08:38:52 +01:00
test_data_entry_flow.py Spelling updates (#82867) 2022-11-28 16:51:43 +01:00
test_exceptions.py Fix TemplateError definition (#82570) 2022-11-23 20:30:32 +01:00
test_loader.py
test_main.py Allow only specific packages to be skipped during startup dependency installation (#82758) 2022-11-30 08:38:52 +01:00
test_requirements.py Allow only specific packages to be skipped during startup dependency installation (#82758) 2022-11-30 08:38:52 +01:00
test_runner.py
test_setup.py Spelling updates (#82867) 2022-11-28 16:51:43 +01:00
test_test_fixtures.py