Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: fan deumidificatore imposta velocita
- description: ""
- trigger:
- - platform: state
- entity_id:
- - counter.fan_deumidificatore
- to: "0"
- id: "0"
- - platform: state
- entity_id:
- - counter.fan_deumidificatore
- to: "1"
- id: "1"
- - platform: state
- entity_id:
- - counter.fan_deumidificatore
- to: "2"
- id: "2"
- - alias: Reset contatore allo spegnimento
- platform: state
- entity_id:
- - humidifier.deumidificatore
- to: "off"
- id: reset
- condition: []
- action:
- - choose:
- - conditions:
- - condition: trigger
- id:
- - "0"
- sequence:
- - service: fan.set_preset_mode
- target:
- entity_id: fan.deumidificatore_fan
- data:
- preset_mode: Low
- - conditions:
- - condition: trigger
- id:
- - "1"
- sequence:
- - service: fan.set_preset_mode
- target:
- entity_id: fan.deumidificatore_fan
- data:
- preset_mode: Medium
- - conditions:
- - condition: trigger
- id:
- - "2"
- sequence:
- - service: fan.set_preset_mode
- target:
- entity_id: fan.deumidificatore_fan
- data:
- preset_mode: High
- - conditions:
- - condition: trigger
- id:
- - reset
- sequence:
- - service: counter.reset
- metadata: {}
- data: {}
- target:
- entity_id: counter.fan_deumidificatore
- mode: single
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement