This commit is contained in:
2023-12-19 15:46:15 +01:00
parent e3db44bced
commit 9663410354
8 changed files with 39 additions and 16 deletions
+26 -2
View File
@@ -144,7 +144,7 @@
- service: homeassistant.turn_off - service: homeassistant.turn_off
entity_id: switch.sonos_alarm_1894 entity_id: switch.sonos_alarm_1894
- alias: 'Turn on alarms Daniel Thursdays' - alias: 'Turn on alarms Daniel Tuesdays Thursdays'
trigger: trigger:
platform: time platform: time
at: '20:06:20' at: '20:06:20'
@@ -156,7 +156,8 @@
- service: homeassistant.turn_on - service: homeassistant.turn_on
entity_id: switch.sonos_alarm_2273 entity_id: switch.sonos_alarm_2273
- alias: 'Turn off alarms Daniel Thursdays' - alias: 'Turn off alarms Daniel Tuesdays/Thursdays'
name: danieltuesdaythursdayoff
trigger: trigger:
platform: time platform: time
at: '20:00:43' at: '20:00:43'
@@ -168,6 +169,29 @@
- service: homeassistant.turn_off - service: homeassistant.turn_off
entity_id: switch.sonos_alarm_2273 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' - alias: 'Turn on alarms Badeværelse'
+3 -4
View File
@@ -19,10 +19,9 @@
entity_id: binary_sensor.forgang_sensor_motion entity_id: binary_sensor.forgang_sensor_motion
to: 'on' to: 'on'
condition: condition:
platform: state - condition: state
entity_id: zone.home entity_id: group.nogen_hjemme
to: "0" state: 'Away'
action: action:
- service: notify.mobile_app_clausiphone - service: notify.mobile_app_clausiphone
data: data:
+2 -2
View File
@@ -19,7 +19,7 @@
to: 'on' to: 'on'
condition: condition:
- condition: time - condition: time
after: '06:00:00' after: '04:50:00'
before: '10:00:00' before: '10:00:00'
- condition: state - condition: state
entity_id: input_boolean.first_run entity_id: input_boolean.first_run
@@ -60,7 +60,7 @@
trigger: trigger:
platform: numeric_state platform: numeric_state
entity_id: sensor.forgang_sensor_illuminance entity_id: sensor.forgang_sensor_illuminance
above: 50 above: 60
for: for:
minutes: 3 minutes: 3
# platform: sun # platform: sun
+1 -1
View File
@@ -2,7 +2,7 @@
trigger: trigger:
platform: numeric_state platform: numeric_state
entity_id: sensor.dethlefsen_average_disk_temp entity_id: sensor.dethlefsen_average_disk_temp
above: 30 above: 35
condition: condition:
- condition: time - condition: time
after: '06:30:00' after: '06:30:00'
+2 -2
View File
@@ -81,10 +81,10 @@
entity_id: binary_sensor.hue_motion_sensor_2_motion_2 entity_id: binary_sensor.hue_motion_sensor_2_motion_2
to: 'off' to: 'off'
for: for:
minutes: 15 minutes: 10
condition: condition:
- condition: time - condition: time
after: '06:30:00' after: '05:00:00'
before: '20:00:00' before: '20:00:00'
action: action:
- service: homeassistant.turn_off - service: homeassistant.turn_off
+3 -3
View File
@@ -81,11 +81,11 @@
entity_id: binary_sensor.hue_motion_sensor_2_motion entity_id: binary_sensor.hue_motion_sensor_2_motion
to: 'off' to: 'off'
for: for:
minutes: 15 minutes: 10
condition: condition:
- condition: time - condition: time
after: '06:30:00' after: '05:00:00'
before: '20:00:00' before: '17:00:00'
action: action:
- service: homeassistant.turn_off - service: homeassistant.turn_off
data: data:
+1 -1
View File
@@ -8,7 +8,7 @@
trigger: trigger:
platform: numeric_state platform: numeric_state
entity_id: sensor.indkorsel_sensor_illuminance entity_id: sensor.indkorsel_sensor_illuminance
below: 90 below: 100
for: for:
minutes: 3 minutes: 3
# - platform: sun # - platform: sun
+1 -1
View File
@@ -44,7 +44,7 @@
- service: light.turn_on - service: light.turn_on
entity_id: entity_id:
- light.raket - light.raket
# - light.syd - light.spisebord
- light.pendle1 - light.pendle1
- light.pendle2 - light.pendle2
- light.panton - light.panton