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
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'
+3 -4
View File
@@ -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:
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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'
+2 -2
View File
@@ -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
+3 -3
View File
@@ -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:
+1 -1
View File
@@ -8,7 +8,7 @@
trigger:
platform: numeric_state
entity_id: sensor.indkorsel_sensor_illuminance
below: 90
below: 100
for:
minutes: 3
# - platform: sun
+1 -1
View File
@@ -44,7 +44,7 @@
- service: light.turn_on
entity_id:
- light.raket
# - light.syd
- light.spisebord
- light.pendle1
- light.pendle2
- light.panton