Ventilator: sluk via switch button 3 long press (Andreas + Daniel)

This commit is contained in:
2026-06-20 19:44:13 +02:00
parent 77a87ed19a
commit bb28a1119c
2 changed files with 41 additions and 1 deletions
@@ -5,5 +5,5 @@ panel: true
cards: cards:
- type: iframe - type: iframe
url: /local/snapshots/indkorsel_loader.html?v=20260620192035 url: /local/snapshots/indkorsel_loader.html?v=20260620194231
aspect_ratio: 100% aspect_ratio: 100%
@@ -39,3 +39,43 @@
target: target:
entity_id: script.daniel_ventilator_sluk_timer entity_id: script.daniel_ventilator_sluk_timer
mode: restart mode: restart
- id: '1750445000003'
alias: Andreas ventilator sluk - switch button 3 longpress
description: Long press på button 3 (dæmp ned) slukker ventilatoren og stopper sluk-timeren
trigger:
- platform: event
event_type: hue_event
event_data:
device_id: d8eb3c4b3fcc7cc36600b24aa819c180
type: long_release
subtype: 3
condition: []
action:
- service: script.turn_off
target:
entity_id: script.andreas_ventilator_sluk_timer
- service: light.turn_off
target:
entity_id: light.indkorsel_plug
mode: single
- id: '1750445000004'
alias: Daniel ventilator sluk - switch button 3 longpress
description: Long press på button 3 (dæmp ned) slukker ventilatoren og stopper sluk-timeren
trigger:
- platform: event
event_type: hue_event
event_data:
device_id: e286dca25ab7ad629af4f7c1ebdf40b2
type: long_release
subtype: 3
condition: []
action:
- service: script.turn_off
target:
entity_id: script.daniel_ventilator_sluk_timer
- service: switch.turn_off
target:
entity_id: switch.stik_daniel
mode: single