Diverse opdateringer: automations (doerklokke, kommerhjem, vinduer, lys_stue, julelys, infrastructure_alerts), scripts (doorbell, home_actions), templates, dashboards, configuration, binary_sensors/infrastructure ny fil

This commit is contained in:
2026-06-12 06:49:43 +02:00
parent 226dcdf354
commit bdf294cc32
21 changed files with 184 additions and 105 deletions
+26
View File
@@ -18,6 +18,10 @@
to: "off"
id: tv_off
- platform: time
at: "23:30:00"
id: natfallback
variables:
lux_limit: "{{ states('input_number.stue_lux_threshold') | int }}"
dagperiode: >
@@ -136,3 +140,25 @@
- service: light.turn_off
target:
entity_id: light.livingroom
# Natfallback kl 23:30: sluk hvis ingen gaester, TV ikke on, og ingen bevaegelse i 5 min
- conditions:
- condition: trigger
id: natfallback
- condition: state
entity_id: input_boolean.gaester
state: "off"
- condition: not
conditions:
- condition: state
entity_id: media_player.samsung_s95ca_55_3
state: "on"
- condition: state
entity_id: binary_sensor.stue_bevaegelse
state: "off"
for:
minutes: 5
sequence:
- service: light.turn_off
target:
entity_id: light.livingroom