climate triggers Climate and ClimateCall references (#5028)

This commit is contained in:
Sergey Dudanov
2023-07-31 07:52:01 +12:00
committed by GitHub
parent cd72a2ed7e
commit a120a455bf
7 changed files with 33 additions and 20 deletions
+7 -2
View File
@@ -2200,9 +2200,14 @@ climate:
use_fahrenheit: true
- platform: midea
on_control:
logger.log: Control message received!
- logger.log: Control message received!
- lambda: |-
x.set_mode(CLIMATE_MODE_FAN_ONLY);
on_state:
logger.log: State changed!
- logger.log: State changed!
- lambda: |-
if (x.mode == CLIMATE_MODE_FAN_ONLY)
id(binary_sensor1).publish_state(true);
id: midea_unit
uart_id: uart_0
name: Midea Climate