1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-29 22:24:26 +00:00

Add Haier climate component (#4001)

* Basic functionality works

* Cleanup

* Add tests

* Separate header

* Fix send_data_

* Formatting fix

* Add __init__.py

* Fix type

* Add codeowners

* Rename supported_swing_modes

* Use multiple swing modes, same as midea platform

* Add CLIMATE_FAN_QUIET handler

* PR fixes
This commit is contained in:
Yaroslav Heriatovych
2023-02-23 02:05:33 +00:00
committed by GitHub
parent 350d4e5071
commit fe4fb5f1ac
6 changed files with 396 additions and 2 deletions

View File

@@ -283,6 +283,10 @@ uart:
tx_pin: GPIO4
rx_pin: GPIO5
baud_rate: 9600
- id: uart12
tx_pin: GPIO4
rx_pin: GPIO5
baud_rate: 9600
modbus:
uart_id: uart1
@@ -1194,8 +1198,14 @@ climate:
ki_multiplier: 0.0
kd_multiplier: 0.0
deadband_output_averaging_samples: 1
- platform: haier
name: Haier AC
supported_swing_modes:
- vertical
- horizontal
- both
update_interval: 10s
uart_id: uart12
sprinkler:
- id: yard_sprinkler_ctrlr