From cb59402dc62031cf8eabbf8237d42f384d7cfa5c Mon Sep 17 00:00:00 2001 From: jsjiang Date: Fri, 31 Jan 2025 12:10:39 +0800 Subject: [PATCH 1/3] modify Climate IR document for enhanced hitach_ac344 platform --- components/climate/climate_ir.rst | 78 ++++++++++++++++++++++++++++++- 1 file changed, 76 insertions(+), 2 deletions(-) diff --git a/components/climate/climate_ir.rst b/components/climate/climate_ir.rst index a6e6764df3..8d84f99582 100644 --- a/components/climate/climate_ir.rst +++ b/components/climate/climate_ir.rst @@ -37,8 +37,9 @@ submit a feature request (see FAQ). +---------------------------------------+---------------------+----------------------+ | :ref:`GREE` | ``gree`` | | +---------------------------------------+---------------------+----------------------+ -| Hitachi | ``hitachi_ac344``, | yes | -| | ``hitachi_ac424`` | | +| :ref:`Hitachi AC344` | ``hitachi_ac344`` | yes | ++---------------------------------------+---------------------+----------------------+ +| Hitachi AC424 | ``hitachi_ac424`` | yes | +---------------------------------------+---------------------+----------------------+ | :ref:`LG` | ``climate_ir_lg`` | yes | +---------------------------------------+---------------------+----------------------+ @@ -173,6 +174,79 @@ The Daikin ARC remotes (``daikin_arc`` climate, ``daikin_arc417``, ``daikin_arc4 sensor: room_temperature model: yan +.. _hitachi_ir: + +``hitachi_ac344`` **Climate**: + +Hitachi AC344 are used by Hitachi AC with payload length 344 bits. + +- **horizontal_default** (*Optional*, string): Default position when horizontal swing is off. Default to ``middle``. + + - Options are: ``left_max``, ``left``, ``middle``, ``right``, ``right_max`` +- **mildewproof** (*Optional*, boolean): Mildewproof control for cool mode. Default to ``False``. + + - Options are: ``True``, ``False`` +- **custom_cool** (Optional): Custom cool mode with designated temperature, swing, and fan mode + + - **temperature** (*Optional*, int): Target temperature. Default to 28 + - **swing** (*Optional*, string): Horizontal setting. Default to "horizontal" + + - Options are: ``horizontal``, ``off`` + - **fan_mode** (*Optional*, string): Fan mode setting. Default to "auto" + + - Options are: ``auto``, ``low``, ``medium``, ``high``, ``quiet`` +- **custom_heat** (Optional): Custom heat mode with designated temperature, swing, and fan mode + + - **temperature** (*Optional*, int): Target temperature. Default to 24 + - **swing** (*Optional*, string): Horizontal setting. Default to "off" + + - Options are: ``horizontal``, ``off`` + - **fan_mode** (*Optional*, string): Fan mode setting. Default to "auto" + + - Options are: ``auto``, ``low``, ``medium``, ``high``, ``quiet`` +- **custom_dry** (Optional): Custom dry mode with designated temperature, swing, and fan mode + + - **temperature** (*Optional*, int): Target temperature. Default to 28 + - **swing** (*Optional*, string): Horizontal setting. Default to "horizontal" + + - Options are: ``horizontal``, ``off`` + - **fan_mode** (*Optional*, string): Fan mode setting. Default to "low" + + - Options are: ``auto``, ``low``, ``medium``, ``high``, ``quiet`` +- **custom_fan_only** (Optional): Custom fan_only mode with designated swing and fan mode + + - **swing** (*Optional*, string): Horizontal setting. Default to "off" + + - Options are: ``horizontal``, ``off`` + - **fan_mode** (*Optional*, string): Fan mode setting. Default to "low" + + - Options are: ``auto``, ``low``, ``medium``, ``high``, ``quiet`` + +.. code-block:: yaml + + # Example configuration entry + climate: + - platform: hitachi_ac344 + name: "AC" + sensor: room_temperature + horizontal_default: "right" + mildewproof: True + custom_cool: + temperature: 28 + swing: "horizontal" + fan_mode: "auto" + custom_heat: + temperature: 24 + swing: "off" + fan_mode: "auto" + custom_dry: + temperature: 28 + swing: "horizontal" + fan_mode: "low" + custom_fan_only: + swing: "off" + fan_mode: "low" + .. _midea_ir: ``midea_ir`` **Climate**: From b0d16c8583403f872bdac09ce916897897e83b77 Mon Sep 17 00:00:00 2001 From: jsjiang Date: Fri, 31 Jan 2025 12:35:25 +0800 Subject: [PATCH 2/3] fix link name for hitachi_ac344 --- components/climate/climate_ir.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/climate/climate_ir.rst b/components/climate/climate_ir.rst index 8d84f99582..cec8f97d82 100644 --- a/components/climate/climate_ir.rst +++ b/components/climate/climate_ir.rst @@ -174,7 +174,7 @@ The Daikin ARC remotes (``daikin_arc`` climate, ``daikin_arc417``, ``daikin_arc4 sensor: room_temperature model: yan -.. _hitachi_ir: +.. _hitachi_ac344: ``hitachi_ac344`` **Climate**: From 6f7a3551dc1ab1cae962bae9daa9a8395c09b266 Mon Sep 17 00:00:00 2001 From: jsjiang Date: Fri, 31 Jan 2025 14:15:08 +0800 Subject: [PATCH 3/3] change "horizontal_default" to "horizontal_position" --- components/climate/climate_ir.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/climate/climate_ir.rst b/components/climate/climate_ir.rst index cec8f97d82..ff0d349c1b 100644 --- a/components/climate/climate_ir.rst +++ b/components/climate/climate_ir.rst @@ -180,7 +180,7 @@ The Daikin ARC remotes (``daikin_arc`` climate, ``daikin_arc417``, ``daikin_arc4 Hitachi AC344 are used by Hitachi AC with payload length 344 bits. -- **horizontal_default** (*Optional*, string): Default position when horizontal swing is off. Default to ``middle``. +- **horizontal_position** (*Optional*, string): Default position when horizontal swing is off. Default to ``middle``. - Options are: ``left_max``, ``left``, ``middle``, ``right``, ``right_max`` - **mildewproof** (*Optional*, boolean): Mildewproof control for cool mode. Default to ``False``. @@ -229,7 +229,7 @@ Hitachi AC344 are used by Hitachi AC with payload length 344 bits. - platform: hitachi_ac344 name: "AC" sensor: room_temperature - horizontal_default: "right" + horizontal_position: "right" mildewproof: True custom_cool: temperature: 28