1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

Added alarm processing for Haier component (hOn protocol) (#5965)

This commit is contained in:
Pavlo Dudnytskyi
2023-12-21 01:10:46 +01:00
committed by GitHub
parent c6a37da9da
commit b5932940ee
8 changed files with 282 additions and 17 deletions

View File

@@ -1026,11 +1026,13 @@ climate:
wifi_signal: true
beeper: true
outdoor_temperature:
name: Haier AC outdoor temperature
name: Haier AC outdoor temperature
visual:
min_temperature: 16 °C
max_temperature: 30 °C
temperature_step: 1 °C
temperature_step:
target_temperature: 1
current_temperature: 0.5
supported_modes:
- 'OFF'
- HEAT_COOL
@@ -1043,6 +1045,23 @@ climate:
- VERTICAL
- HORIZONTAL
- BOTH
supported_presets:
- AWAY
- BOOST
- ECO
- SLEEP
on_alarm_start:
then:
- logger.log:
level: DEBUG
format: "Alarm activated. Code: %d. Message: \"%s\""
args: [ code, message]
on_alarm_end:
then:
- logger.log:
level: DEBUG
format: "Alarm deactivated. Code: %d. Message: \"%s\""
args: [ code, message]
sprinkler:
- id: yard_sprinkler_ctrlr