mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +01:00
Merge pull request #2479 from esphome/nagyrobi-patch-3
climate cosmetic fixes
This commit is contained in:
commit
5ca17fff5c
@ -7,7 +7,7 @@ Climate Component
|
|||||||
|
|
||||||
ESPHome has support for climate devices. Climate devices can represent different types of
|
ESPHome has support for climate devices. Climate devices can represent different types of
|
||||||
hardware, but the defining factor is that climate devices have a settable target temperature
|
hardware, but the defining factor is that climate devices have a settable target temperature
|
||||||
and can be put in different modes like HEAT, COOL, HEAT_COOL or OFF.
|
and can be put in different modes like ``HEAT``, ``COOL``, ``HEAT_COOL`` or ``OFF``.
|
||||||
|
|
||||||
.. figure:: images/climate-ui.png
|
.. figure:: images/climate-ui.png
|
||||||
:align: center
|
:align: center
|
||||||
@ -58,42 +58,6 @@ Advanced options:
|
|||||||
for a list of available options. Requires Home Assistant 2021.11 or newer.
|
for a list of available options. Requires Home Assistant 2021.11 or newer.
|
||||||
Set to ``""`` to remove the default entity category.
|
Set to ``""`` to remove the default entity category.
|
||||||
|
|
||||||
MQTT options:
|
|
||||||
|
|
||||||
- **action_state_topic** (*Optional*, string): The topic to publish
|
|
||||||
climate device action changes to.
|
|
||||||
- **away_state_topic** (*Optional*, string): The topic to publish
|
|
||||||
away mode changes on.
|
|
||||||
- **away_command_topic** (*Optional*, string): The topic to receive
|
|
||||||
away mode commands on.
|
|
||||||
- **current_temperature_state_topic** (*Optional*, string): The topic to publish
|
|
||||||
current temperature changes to.
|
|
||||||
- **fan_mode_state_topic** (*Optional*, string): The topic to publish
|
|
||||||
fan mode changes to.
|
|
||||||
- **fan_mode_command_topic** (*Optional*, string): The topic to receive
|
|
||||||
fan mode commands on.
|
|
||||||
- **mode_state_topic** (*Optional*, string): The topic to publish
|
|
||||||
climate device mode changes to.
|
|
||||||
- **mode_command_topic** (*Optional*, string): The topic to receive
|
|
||||||
climate device mode commands on.
|
|
||||||
- **swing_mode_state_topic** (*Optional*, string): The topic to publish
|
|
||||||
swing mode changes to.
|
|
||||||
- **swing_mode_command_topic** (*Optional*, string): The topic to receive
|
|
||||||
swing mode commands on.
|
|
||||||
- **target_temperature_state_topic** (*Optional*, string): The topic to publish
|
|
||||||
target temperature changes to.
|
|
||||||
- **target_temperature_command_topic** (*Optional*, string): The topic to receive
|
|
||||||
target temperature commands on.
|
|
||||||
- **target_temperature_high_state_topic** (*Optional*, string): The topic to publish
|
|
||||||
higher target temperature changes to.
|
|
||||||
- **target_temperature_high_command_topic** (*Optional*, string): The topic to receive
|
|
||||||
higher target temperature commands on.
|
|
||||||
- **target_temperature_low_state_topic** (*Optional*, string): The topic to publish
|
|
||||||
lower target temperature changes to.
|
|
||||||
- **target_temperature_low_command_topic** (*Optional*, string): The topic to receive
|
|
||||||
lower target temperature commands on.
|
|
||||||
- All other options from :ref:`MQTT Component <config-mqtt-component>`.
|
|
||||||
|
|
||||||
Climate Automation
|
Climate Automation
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
@ -189,7 +153,7 @@ advanced stuff.
|
|||||||
.. _climate-on_state_trigger:
|
.. _climate-on_state_trigger:
|
||||||
|
|
||||||
``climate.on_state`` Trigger
|
``climate.on_state`` Trigger
|
||||||
******************************************************
|
****************************
|
||||||
|
|
||||||
This trigger is activated each time the state of the climate device is updated
|
This trigger is activated each time the state of the climate device is updated
|
||||||
(for example, if the current temperature measurement or the mode set by the users changes).
|
(for example, if the current temperature measurement or the mode set by the users changes).
|
||||||
@ -202,6 +166,43 @@ This trigger is activated each time the state of the climate device is updated
|
|||||||
on_state:
|
on_state:
|
||||||
- logger.log: "State updated!"
|
- logger.log: "State updated!"
|
||||||
|
|
||||||
|
MQTT options:
|
||||||
|
|
||||||
|
- **action_state_topic** (*Optional*, string): The topic to publish
|
||||||
|
climate device action changes to.
|
||||||
|
- **away_state_topic** (*Optional*, string): The topic to publish
|
||||||
|
away mode changes on.
|
||||||
|
- **away_command_topic** (*Optional*, string): The topic to receive
|
||||||
|
away mode commands on.
|
||||||
|
- **current_temperature_state_topic** (*Optional*, string): The topic to publish
|
||||||
|
current temperature changes to.
|
||||||
|
- **fan_mode_state_topic** (*Optional*, string): The topic to publish
|
||||||
|
fan mode changes to.
|
||||||
|
- **fan_mode_command_topic** (*Optional*, string): The topic to receive
|
||||||
|
fan mode commands on.
|
||||||
|
- **mode_state_topic** (*Optional*, string): The topic to publish
|
||||||
|
climate device mode changes to.
|
||||||
|
- **mode_command_topic** (*Optional*, string): The topic to receive
|
||||||
|
climate device mode commands on.
|
||||||
|
- **swing_mode_state_topic** (*Optional*, string): The topic to publish
|
||||||
|
swing mode changes to.
|
||||||
|
- **swing_mode_command_topic** (*Optional*, string): The topic to receive
|
||||||
|
swing mode commands on.
|
||||||
|
- **target_temperature_state_topic** (*Optional*, string): The topic to publish
|
||||||
|
target temperature changes to.
|
||||||
|
- **target_temperature_command_topic** (*Optional*, string): The topic to receive
|
||||||
|
target temperature commands on.
|
||||||
|
- **target_temperature_high_state_topic** (*Optional*, string): The topic to publish
|
||||||
|
higher target temperature changes to.
|
||||||
|
- **target_temperature_high_command_topic** (*Optional*, string): The topic to receive
|
||||||
|
higher target temperature commands on.
|
||||||
|
- **target_temperature_low_state_topic** (*Optional*, string): The topic to publish
|
||||||
|
lower target temperature changes to.
|
||||||
|
- **target_temperature_low_command_topic** (*Optional*, string): The topic to receive
|
||||||
|
lower target temperature commands on.
|
||||||
|
- All other options from :ref:`MQTT Component <config-mqtt-component>`.
|
||||||
|
|
||||||
|
|
||||||
See Also
|
See Also
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user