lys_stue: nat-fejemand 00-05:30 (fanger app-tændt lys efter natfallback; pendle1 brændte hele natten 5-6/10)

This commit is contained in:
claus committed 2026-10-06 05:59:05 +02:00
1 parent c9e6498d20
commit ef15d5ba65
3 files changed
+31 -2

No files matched your search

@@ -5,5 +5,5 @@ panel: true
cards: cards:
- type: iframe - type: iframe
url: /local/snapshots/indkorsel_loader.html?v=20261005204449 url: /local/snapshots/indkorsel_loader.html?v=20261005220433
aspect_ratio: 100% aspect_ratio: 100%
+29
View File
@@ -162,3 +162,32 @@
- service: light.turn_off - service: light.turn_off
target: target:
entity_id: light.livingroom entity_id: light.livingroom
# Nat-fejemand: fanger lys taendt manuelt (fx Hue-app) efter natfallback 23:30.
# Hver 30. min 00-05:30: sluk stuen hvis TV er slukket og ingen bevaegelse i 45 min.
- id: stue_nat_fejemand
alias: Stue nat-fejemand
trigger:
- platform: time_pattern
minutes: "/30"
condition:
- condition: time
after: "00:00:00"
before: "05:31:00"
- condition: state
entity_id: light.livingroom
state: "on"
- condition: not
conditions:
- condition: state
entity_id: media_player.samsung
state: "on"
- condition: state
entity_id: binary_sensor.stue_bevaegelse
state: "off"
for:
minutes: 45
action:
- service: light.turn_off
target:
entity_id: light.livingroom
+1 -1
View File
@@ -1 +1 @@
{"count": 5, "items": [{"date": "2026-10-06", "recipe": {"name": "Lasagne", "slug": "lasagne"}}, {"date": "2026-10-08", "recipe": {"name": "Rester fra Kylling i Karry a la Ristaffel", "slug": ""}}, {"date": "2026-10-09", "recipe": {"name": "Laks med sesam og citron", "slug": "laks-med-sesam-og-citron"}}, {"date": "2026-10-05", "recipe": {"name": "Spaghetti Bolognese - pasta med k\u00f8dsovs", "slug": "spaghetti-bolognese-pasta-med-kodsovs"}}, {"date": "2026-10-07", "recipe": {"name": "Pastasalat med kylling", "slug": "pastasalat-med-kylling"}}]} {"count": 4, "items": [{"date": "2026-10-06", "recipe": {"name": "Lasagne", "slug": "lasagne"}}, {"date": "2026-10-08", "recipe": {"name": "Rester fra Kylling i Karry a la Ristaffel", "slug": ""}}, {"date": "2026-10-09", "recipe": {"name": "Laks med sesam og citron", "slug": "laks-med-sesam-og-citron"}}, {"date": "2026-10-07", "recipe": {"name": "Pastasalat med kylling", "slug": "pastasalat-med-kylling"}}]}