Skip to content

Commit

Permalink
Haier select documentation added.
Browse files Browse the repository at this point in the history
  • Loading branch information
paveldn committed Oct 20, 2024
1 parent 1789091 commit bbbbfbc
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,32 @@ Configuration variables:
- **steri_cleaning** (*Optional*): A button that starts Haier climate 56°C Steri-Clean.
All options from `Button <https://esphome.io/components/button/index.html#base-button-configuration>`_.

.. Generated from esphome-docs/select/haier.rst
Haier Climate Select
====================

Select components to support vertical and horizontal airflow directions settings for Haier AC.

.. code-block:: yaml
# Example configuration entry
select:
- platform: haier
horizontal_airflow:
name: Haier airflow horizontal
vertical_airflow:
name: Haier airflow vertical
Configuration variables:
------------------------

- **haier_id** (**Required**, `ID <https://esphome.io/guides/configuration-types.html#config-id>`_): The id of Haier climate component
- **horizontal_airflow** (*Optional*): (supported only by hOn) Select component to control horizontal airflow mode (if supported by AC).
All options from `Select <https://esphome.io/components/select/index.html#base-select-configuration>`_.
- **vertical_airflow** (*Optional*): (supported only by hOn) Select component to control vertical airflow mode (if supported by AC).
All options from `Select <https://esphome.io/components/select/index.html#base-select-configuration>`_.

.. Generated from esphome-docs/switch/haier.rst
Haier Climate Switches
Expand Down
33 changes: 33 additions & 0 deletions docs/esphome-docs/select/haier.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Haier Climate Select
====================

.. seo::
:description: Instructions for setting up additional select components for Haier climate devices.
:image: haier.svg

Select components to support vertical and horizontal airflow directions settings for Haier AC.

.. code-block:: yaml
# Example configuration entry
select:
- platform: haier
horizontal_airflow:
name: Haier airflow horizontal
vertical_airflow:
name: Haier airflow vertical
Configuration variables:
------------------------

- **haier_id** (**Required**, :ref:`config-id`): The id of Haier climate component
- **horizontal_airflow** (*Optional*): (supported only by hOn) Select component to control horizontal airflow mode (if supported by AC).
All options from :ref:`Select <config-select>`.
- **vertical_airflow** (*Optional*): (supported only by hOn) Select component to control vertical airflow mode (if supported by AC).
All options from :ref:`Select <config-select>`.

See Also
--------

- :doc:`Haier Climate </components/climate/haier>`
- :ghedit:`Edit`
1 change: 1 addition & 0 deletions docs/script/make_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"/".join(["esphome-docs", "binary_sensor", "haier.rst"]),
"/".join(["esphome-docs", "text_sensor", "haier.rst"]),
"/".join(["esphome-docs", "button", "haier.rst"]),
"/".join(["esphome-docs", "select", "haier.rst"]),
"/".join(["esphome-docs", "switch", "haier.rst"]),
"esp32_backup.rst",
]
Expand Down

0 comments on commit bbbbfbc

Please sign in to comment.