🏡 Open source home automation that puts local control and privacy first.
Go to file
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
.devcontainer Update devcontainer appPort to allow connections from external IPs (#79730) 2022-10-25 21:06:56 +02:00
.github Adjust stale bot action to be more performant (#84999) 2023-01-02 21:55:13 +01:00
.vscode Add "Home Assistant (skip pip)" to VS Code launch.json (#74887) 2022-07-10 23:06:27 +02:00
docs Update screenshot (#79459) 2022-10-10 20:20:25 +02:00
homeassistant Add MQTT climate setting for current humidity (#84592) 2023-01-03 22:57:20 +01:00
machine Update Builder & Wheels + support yellow (#73896) 2022-06-23 13:58:24 +02:00
pylint/plugins Prevent use of deprecated units (#83384) 2022-12-21 15:24:11 +01:00
rootfs Fix logging & exit code reporting to S6 on HA shutdown (#72921) 2022-06-02 19:49:08 +02:00
script Bump httpx to 0.23.2 (#85023) 2023-01-02 20:45:52 -05:00
tests Add MQTT climate setting for current humidity (#84592) 2023-01-03 22:57:20 +01:00
.core_files.yaml Trigger full CI on Text integration changes (#82907) 2022-11-29 15:49:10 +01:00
.coveragerc Ruuvi Gateway integration (#84853) 2023-01-03 10:19:43 -10:00
.dockerignore Not to Tox (#76582) 2022-11-23 14:40:37 +01:00
.gitattributes
.gitignore Not to Tox (#76582) 2022-11-23 14:40:37 +01:00
.hadolint.yaml
.pre-commit-config.yaml Update isort to 5.11.4 (#84406) 2022-12-21 23:06:18 +01:00
.prettierignore Add Leviton brand (#79244) 2022-09-29 12:28:51 +02:00
.readthedocs.yml Update readthedocs config (#65230) 2022-01-30 20:15:32 -08:00
.strict-typing Ruuvi Gateway integration (#84853) 2023-01-03 10:19:43 -10:00
.yamllint
CLA.md
CODEOWNERS Add EnergyZero integration (#83886) 2023-01-03 22:28:16 +01:00
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md (#73468) 2022-06-23 01:41:22 +02:00
CONTRIBUTING.md
Dockerfile Add nightly frontend to nightly builds (#74327) 2022-07-02 09:04:35 -07:00
Dockerfile.dev Uninstall pre-installed tools from devcontainer (#79765) 2022-10-07 02:16:38 +03:00
LICENSE.md
MANIFEST.in Move remaining keys to `setup.cfg` (#65154) 2022-01-28 20:18:09 -08:00
README.rst Update featured integrations image (#76011) 2022-08-02 09:09:24 +02:00
build.yaml Update base image to 2022.11.0 (#82527) 2022-11-24 19:21:42 +01:00
codecov.yml
mypy.ini Ruuvi Gateway integration (#84853) 2023-01-03 10:19:43 -10:00
pyproject.toml Bump httpx to 0.23.2 (#85023) 2023-01-02 20:45:52 -05:00
requirements.txt Bump httpx to 0.23.2 (#85023) 2023-01-02 20:45:52 -05:00
requirements_all.txt Bump scapy to 2.5.0 (#85074) 2023-01-03 16:48:47 -05:00
requirements_docs.txt
requirements_test.txt Update coverage to 7.0.2 (#85020) 2023-01-02 13:43:20 -10:00
requirements_test_all.txt Bump scapy to 2.5.0 (#85074) 2023-01-03 16:48:47 -05:00
requirements_test_pre_commit.txt Update isort to 5.11.4 (#84406) 2022-12-21 23:06:18 +01:00
setup.cfg Not to Tox (#76582) 2022-11-23 14:40:37 +01:00

README.rst

Home Assistant |Chat Status|
=================================================================================

Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server.

Check out `home-assistant.io <https://home-assistant.io>`__ for `a
demo <https://home-assistant.io/demo/>`__, `installation instructions <https://home-assistant.io/getting-started/>`__,
`tutorials <https://home-assistant.io/getting-started/automation/>`__ and `documentation <https://home-assistant.io/docs/>`__.

|screenshot-states|

Featured integrations
---------------------

|screenshot-integrations|

The system is built using a modular approach so support for other devices or actions can be implemented easily. See also the `section on architecture <https://developers.home-assistant.io/docs/architecture_index/>`__ and the `section on creating your own
components <https://developers.home-assistant.io/docs/creating_component_index/>`__.

If you run into issues while using Home Assistant or during development
of a component, check the `Home Assistant help section <https://home-assistant.io/help/>`__ of our website for further help and information.

.. |Chat Status| image:: https://img.shields.io/discord/330944238910963714.svg
   :target: https://discord.gg/c5DvZ4e
.. |screenshot-states| image:: https://raw.githubusercontent.com/home-assistant/core/master/docs/screenshots.png
   :target: https://home-assistant.io/demo/
.. |screenshot-integrations| image:: https://raw.githubusercontent.com/home-assistant/core/dev/docs/screenshot-integrations.png
   :target: https://home-assistant.io/integrations/