diff --git a/include/automations/alarms.yaml b/include/automations/alarms.yaml index f804f0e..52ccfc7 100644 --- a/include/automations/alarms.yaml +++ b/include/automations/alarms.yaml @@ -144,7 +144,7 @@ - service: homeassistant.turn_off entity_id: switch.sonos_alarm_1894 - - alias: 'Turn on alarms Daniel Thursdays' + - alias: 'Turn on alarms Daniel Tuesdays Thursdays' trigger: platform: time at: '20:06:20' @@ -156,7 +156,8 @@ - service: homeassistant.turn_on entity_id: switch.sonos_alarm_2273 - - alias: 'Turn off alarms Daniel Thursdays' + - alias: 'Turn off alarms Daniel Tuesdays/Thursdays' + name: danieltuesdaythursdayoff trigger: platform: time at: '20:00:43' @@ -168,6 +169,29 @@ - service: homeassistant.turn_off entity_id: switch.sonos_alarm_2273 + - alias: 'Turn on alarms Daniel Saturdays' + trigger: + platform: time + at: '20:06:30' + condition: + - condition: or + conditions: + - condition: template + value_template: '{{ now().date() | string != "2022-12-24" }}' + - condition: template + value_template: '{{ now().date() | string != "2022-12-31" }}' + action: + - service: homeassistant.turn_on + entity_id: switch.sonos_alarm_3471 + + - alias: 'Turn off alarms Daniel Saturdays' + trigger: + platform: time + at: '20:07:30' + action: + - service: homeassistant.turn_off + entity_id: switch.sonos_alarm_3471 + - alias: 'Turn on alarms Badeværelse' diff --git a/include/automations/derernogenihuset.yaml b/include/automations/derernogenihuset.yaml index 8a3c15a..dc16d48 100644 --- a/include/automations/derernogenihuset.yaml +++ b/include/automations/derernogenihuset.yaml @@ -19,10 +19,9 @@ entity_id: binary_sensor.forgang_sensor_motion to: 'on' condition: - platform: state - entity_id: zone.home - to: "0" - + - condition: state + entity_id: group.nogen_hjemme + state: 'Away' action: - service: notify.mobile_app_clausiphone data: diff --git a/include/automations/good_morning.yaml b/include/automations/good_morning.yaml index b03625e..936291f 100644 --- a/include/automations/good_morning.yaml +++ b/include/automations/good_morning.yaml @@ -19,7 +19,7 @@ to: 'on' condition: - condition: time - after: '06:00:00' + after: '04:50:00' before: '10:00:00' - condition: state entity_id: input_boolean.first_run @@ -60,7 +60,7 @@ trigger: platform: numeric_state entity_id: sensor.forgang_sensor_illuminance - above: 50 + above: 60 for: minutes: 3 # platform: sun diff --git a/include/automations/loft_ventilator.yaml b/include/automations/loft_ventilator.yaml index c5cfeea..193781a 100644 --- a/include/automations/loft_ventilator.yaml +++ b/include/automations/loft_ventilator.yaml @@ -2,7 +2,7 @@ trigger: platform: numeric_state entity_id: sensor.dethlefsen_average_disk_temp - above: 30 + above: 35 condition: - condition: time after: '06:30:00' diff --git a/include/automations/lys_andreas.yaml b/include/automations/lys_andreas.yaml index 09c366e..e421627 100644 --- a/include/automations/lys_andreas.yaml +++ b/include/automations/lys_andreas.yaml @@ -81,10 +81,10 @@ entity_id: binary_sensor.hue_motion_sensor_2_motion_2 to: 'off' for: - minutes: 15 + minutes: 10 condition: - condition: time - after: '06:30:00' + after: '05:00:00' before: '20:00:00' action: - service: homeassistant.turn_off diff --git a/include/automations/lys_daniel.yaml b/include/automations/lys_daniel.yaml index 814ed39..b98da55 100644 --- a/include/automations/lys_daniel.yaml +++ b/include/automations/lys_daniel.yaml @@ -81,11 +81,11 @@ entity_id: binary_sensor.hue_motion_sensor_2_motion to: 'off' for: - minutes: 15 + minutes: 10 condition: - condition: time - after: '06:30:00' - before: '20:00:00' + after: '05:00:00' + before: '17:00:00' action: - service: homeassistant.turn_off data: diff --git a/include/automations/lys_have.yaml b/include/automations/lys_have.yaml index 8b18eb1..11b1ec4 100644 --- a/include/automations/lys_have.yaml +++ b/include/automations/lys_have.yaml @@ -8,7 +8,7 @@ trigger: platform: numeric_state entity_id: sensor.indkorsel_sensor_illuminance - below: 90 + below: 100 for: minutes: 3 # - platform: sun diff --git a/include/automations/sunset_turn_on.yaml b/include/automations/sunset_turn_on.yaml index 9193748..74cc590 100644 --- a/include/automations/sunset_turn_on.yaml +++ b/include/automations/sunset_turn_on.yaml @@ -44,7 +44,7 @@ - service: light.turn_on entity_id: - light.raket -# - light.syd + - light.spisebord - light.pendle1 - light.pendle2 - light.panton