- Gæstetilstand: ny gaester.yaml, udvidet guest_mode og guest_automations_off; lys_stue, gardiner m.fl. respekterer input_boolean.gaester - Varme: nye standardværdier (komfort stue/andreas/daniel, bryggers/køkken 23, nat-/væk-sænkning) - Nye filer: garage_anne_evening.yaml, input/boolean/vanding.yaml - Diverse justeringer af lys-, ferie- og vandingsautomationer samt dashboards - HA-version og mealie.json opdateret Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
51 lines
1.5 KiB
YAML
51 lines
1.5 KiB
YAML
- alias: 'Lys ved garage'
|
|
trigger:
|
|
platform: state
|
|
entity_id: binary_sensor.indkorsel_sensor_motion
|
|
to: 'on'
|
|
condition:
|
|
- condition: numeric_state
|
|
entity_id: sensor.indkorsel_sensor_illuminance
|
|
below: 90
|
|
# Gæster: kun baghaven (drivhus, paradis og Hue "baghave") spærres 22-09.
|
|
- condition: template
|
|
value_template: >
|
|
{{ not is_state('input_boolean.gaester', 'on') or
|
|
900 <= now().strftime('%H%M') | int < 2200 }}
|
|
# - condition: time
|
|
# before: '23:00:00'
|
|
|
|
|
|
# - condition: state
|
|
# entity_id: sun.sun
|
|
# state: below_horizon
|
|
action:
|
|
- service: homeassistant.turn_on
|
|
entity_id:
|
|
- light.drivhus
|
|
- light.paradis
|
|
- condition: template
|
|
value_template: "{{ now().isocalendar()[1] >= 42 or now().isocalendar()[1] <= 8 }}"
|
|
- service: homeassistant.turn_on
|
|
entity_id: light.extended_color_light_1
|
|
|
|
- alias: 'Sluk lys ved garage'
|
|
trigger:
|
|
platform: state
|
|
entity_id: binary_sensor.indkorsel_sensor_motion
|
|
to: 'off'
|
|
for:
|
|
minutes: 10
|
|
action:
|
|
- service: homeassistant.turn_off
|
|
data:
|
|
entity_id:
|
|
- light.drivhus
|
|
- light.paradis
|
|
- condition: template
|
|
value_template: "{{ now().isocalendar()[1] >= 42 or now().isocalendar()[1] <= 8 }}"
|
|
- service: homeassistant.turn_off
|
|
entity_id: light.extended_color_light_1
|
|
|
|
|