core/tests
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
..
auth String formatting cleanups (#52937) 2021-07-13 00:12:55 +02:00
components Add MQTT humidifier platform integration (#52828) 2021-07-15 11:12:23 +02:00
fixtures Add zwave_js device triggers (#51968) 2021-07-14 14:14:36 -04:00
hassfest Block custom integrations with missing or invalid version (#49916) 2021-05-17 15:48:41 +02:00
helpers Support dynamic schema validation in device conditions and actions (#52007) 2021-06-28 09:23:46 +02:00
mock Disable strict type checks for tests (#49851) 2021-04-29 15:57:02 +02:00
resources
scripts Cleanup unused loggers (#46510) 2021-02-14 13:46:58 +01:00
test_util Detach aiohttp.ClientSession created by config entry setup on unload (#48908) 2021-04-09 10:14:33 -07:00
testing_config Vacation Mode on Alarm Panels (#45980) 2021-07-01 17:26:32 +02:00
util Fix deadlock at shutdown with python 3.9 (#52613) 2021-07-07 09:23:24 +02:00
__init__.py
bandit.yaml
common.py Minor improvements of MQTT typing (#52578) 2021-07-06 14:38:48 +02:00
conftest.py Update statistics meta data on entity_id change (#52755) 2021-07-14 13:23:11 +02:00
ignore_uncaught_exceptions.py
test_bootstrap.py Avoid sending empty integration list multiple times during subscribe_bootstrap_integrations (#49181) 2021-04-15 23:16:17 -07:00
test_config.py Remove stale debug statements from tests (#51059) 2021-05-25 11:52:20 +02:00
test_config_entries.py Abort existing reauth flow on entry removal (#52407) 2021-07-02 20:56:51 +02:00
test_core.py Define sync hass.create_task function (#50788) 2021-05-17 14:54:06 -05:00
test_data_entry_flow.py Use flow result type constants more (#51122) 2021-05-29 14:09:13 +02:00
test_exceptions.py Remove stale debug statements from tests (#51059) 2021-05-25 11:52:20 +02:00
test_loader.py Move version validation to resolver (#51311) 2021-05-31 15:32:03 -07:00
test_main.py
test_requirements.py Add network and callback support to SSDP (#51019) 2021-05-28 21:18:59 -05:00
test_runner.py Ensure shutdown does not deadlock (#49282) 2021-04-18 08:55:51 -10:00
test_setup.py Replace http startup logic with async_when_setup_or_start (#48784) 2021-04-13 14:10:58 -07:00