Ventilator: tilføj tænd/sluk + sluk-timer knapper for Andreas og Daniel
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
andreas_ventilator_sluk_timer:
|
||||
alias: Andreas ventilator sluk efter timer
|
||||
icon: mdi:fan-off
|
||||
mode: restart
|
||||
sequence:
|
||||
- delay:
|
||||
minutes: "{{ states('input_number.andreas_ventilator_timer') | int(30) }}"
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.indkorsel_plug
|
||||
|
||||
daniel_ventilator_sluk_timer:
|
||||
alias: Daniel ventilator sluk efter timer
|
||||
icon: mdi:fan-off
|
||||
mode: restart
|
||||
sequence:
|
||||
- delay:
|
||||
minutes: "{{ states('input_number.daniel_ventilator_timer') | int(30) }}"
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.stik_daniel
|
||||
Reference in New Issue
Block a user