Control energy monitor backlight by workplace presence
This commit is contained in:
@@ -1581,3 +1581,36 @@
|
|||||||
entity_id: button.schlafzimmeruhr_show_seconds
|
entity_id: button.schlafzimmeruhr_show_seconds
|
||||||
data: {}
|
data: {}
|
||||||
mode: single
|
mode: single
|
||||||
|
- id: energymonitor_backlight_workplace_presence
|
||||||
|
alias: 'Energy Monitor: Display nach Arbeitsplatz-Anwesenheit schalten'
|
||||||
|
description: Schaltet die Displaybeleuchtung beim Verlassen des Arbeitsplatzes aus
|
||||||
|
und bei der Rückkehr wieder ein.
|
||||||
|
triggers:
|
||||||
|
- trigger: zone
|
||||||
|
entity_id: person.marcus_scholz
|
||||||
|
zone: zone.arbeitsplatz_handwerker_gewerbepark
|
||||||
|
event: leave
|
||||||
|
id: leave
|
||||||
|
- trigger: zone
|
||||||
|
entity_id: person.marcus_scholz
|
||||||
|
zone: zone.arbeitsplatz_handwerker_gewerbepark
|
||||||
|
event: enter
|
||||||
|
id: enter
|
||||||
|
conditions: []
|
||||||
|
actions:
|
||||||
|
- choose:
|
||||||
|
- conditions:
|
||||||
|
- condition: trigger
|
||||||
|
id: leave
|
||||||
|
sequence:
|
||||||
|
- action: light.turn_off
|
||||||
|
target:
|
||||||
|
entity_id: light.energy_monitor_display_backlight
|
||||||
|
- conditions:
|
||||||
|
- condition: trigger
|
||||||
|
id: enter
|
||||||
|
sequence:
|
||||||
|
- action: light.turn_on
|
||||||
|
target:
|
||||||
|
entity_id: light.energy_monitor_display_backlight
|
||||||
|
mode: restart
|
||||||
|
|||||||
Reference in New Issue
Block a user