diff --git a/dashboards/views/06c_indkorsel_snapshots.yaml b/dashboards/views/06c_indkorsel_snapshots.yaml index b891183..5426ed7 100644 --- a/dashboards/views/06c_indkorsel_snapshots.yaml +++ b/dashboards/views/06c_indkorsel_snapshots.yaml @@ -5,5 +5,5 @@ panel: true cards: - type: iframe - url: /local/snapshots/indkorsel_loader.html?v=20261005204449 + url: /local/snapshots/indkorsel_loader.html?v=20261005220433 aspect_ratio: 100% diff --git a/include/automations/lys_stue.yaml b/include/automations/lys_stue.yaml index 67a2bab..aa0e1d0 100644 --- a/include/automations/lys_stue.yaml +++ b/include/automations/lys_stue.yaml @@ -162,3 +162,32 @@ - service: light.turn_off target: 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 diff --git a/www/mealie.json b/www/mealie.json index fe33ef3..049f13f 100644 --- a/www/mealie.json +++ b/www/mealie.json @@ -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"}}]} \ No newline at end of file +{"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"}}]} \ No newline at end of file