This commit is contained in:
2023-04-11 07:08:32 +02:00
parent dfe18853d5
commit e3db44bced
10 changed files with 38 additions and 91 deletions
+4 -4
View File
@@ -18,7 +18,7 @@
- service: notify.mobile_app_clausiphone
data:
message: Det ringer på bagdøren
- service: notify.mobile_app_annes_iphone_xs
- service: notify.mobile_app_annes_iphone_14_pro
data:
message: Det ringer på bagdøren
@@ -134,7 +134,7 @@
- service: notify.mobile_app_clausiphone
data:
message: Det ringer på bagdøren - doublepress
- service: notify.mobile_app_annes_iphone_xs
- service: notify.mobile_app_annes_iphone_14_pro
data:
message: Det ringer på bagdøren - doublepress
- choose:
@@ -220,7 +220,7 @@
- service: notify.mobile_app_clausiphone
data:
message: Det ringer på bagdøren - triple-press
- service: notify.mobile_app_annes_iphone_xs
- service: notify.mobile_app_annes_iphone_14_pro
data:
message: Det ringer på bagdøren - triple-press
- choose:
@@ -306,7 +306,7 @@
- service: notify.mobile_app_clausiphone
data:
message: Det ringer på bagdøren - long-press
- service: notify.mobile_app_annes_iphone_xs
- service: notify.mobile_app_annes_iphone_14_pro
data:
message: Det ringer på bagdøren - long-press
- choose:
+3 -3
View File
@@ -30,7 +30,7 @@
- service: notify.mobile_app_clausiphone
data:
message: Det ringer på bagdøren - doublepress
- service: notify.mobile_app_annes_iphone_xs
- service: notify.mobile_app_annes_iphone_14_pro
data:
message: Det ringer på bagdøren - doublepress
- choose:
@@ -116,7 +116,7 @@
- service: notify.mobile_app_clausiphone
data:
message: Det ringer på bagdøren - triple-press
- service: notify.mobile_app_annes_iphone_xs
- service: notify.mobile_app_annes_iphone_14_pro
data:
message: Det ringer på bagdøren - triple-press
- choose:
@@ -202,7 +202,7 @@
- service: notify.mobile_app_clausiphone
data:
message: Det ringer på bagdøren - long-press
- service: notify.mobile_app_annes_iphone_xs
- service: notify.mobile_app_annes_iphone_14_pro
data:
message: Det ringer på bagdøren - long-press
- choose:
+4 -4
View File
@@ -19,7 +19,7 @@
- service: notify.mobile_app_clausiphone
data:
message: Det ringer på fordøren
- service: notify.mobile_app_annes_iphone_xs
- service: notify.mobile_app_annes_iphone_14_pro
data:
message: Det ringer på fordøren
- choose:
@@ -134,7 +134,7 @@
- service: notify.mobile_app_clausiphone
data:
message: Det ringer på fordøren - doublepress
- service: notify.mobile_app_annes_iphone_xs
- service: notify.mobile_app_annes_iphone_14_pro
data:
message: Det ringer på fordøren - doublepress
- choose:
@@ -220,7 +220,7 @@
- service: notify.mobile_app_clausiphone
data:
message: Det ringer på fordøren - triple-press
- service: notify.mobile_app_annes_iphone_xs
- service: notify.mobile_app_annes_iphone_14_pro
data:
message: Det ringer på fordøren - triple-press
- choose:
@@ -306,7 +306,7 @@
- service: notify.mobile_app_clausiphone
data:
message: Det ringer på fordøren - long-press
- service: notify.mobile_app_annes_iphone_xs
- service: notify.mobile_app_annes_iphone_14_pro
data:
message: Det ringer på fordøren - long-press
- choose:
+4 -4
View File
@@ -16,7 +16,7 @@
to: 'home'
action:
service: notify.mobile_app_annes_iphone_xs
service: notify.mobile_app_annes_iphone_14_pro
data:
message: 'Daniel kommer hjem'
@@ -38,7 +38,7 @@
to: 'home'
action:
service: notify.mobile_app_annes_iphone_xs
service: notify.mobile_app_annes_iphone_14_pro
data:
message: 'Andreas kommer hjem'
@@ -63,7 +63,7 @@
to: 'Skole'
action:
service: notify.mobile_app_annes_iphone_xs
service: notify.mobile_app_annes_iphone_14_pro
data:
message: 'Andreas ankommer til skole'
@@ -98,7 +98,7 @@
to: 'Skole'
action:
service: notify.mobile_app_annes_iphone_xs
service: notify.mobile_app_annes_iphone_14_pro
data:
message: 'Daniel ankommer til skole'
+1 -1
View File
@@ -24,7 +24,7 @@
state: 'on'
- condition: time
after: '06:30:00'
before: '19:30:00'
before: '19:45:00'
action:
- service: homeassistant.turn_on
target:
+1 -1
View File
@@ -46,7 +46,7 @@
state: 'off'
- condition: time
after: '10:00:00'
before: '20:30:00'
before: '19:45:00'
action:
- service: homeassistant.turn_on
target:
+4 -4
View File
@@ -11,7 +11,7 @@
entity_id: sensor.gang_sensor_illuminance
below: '70'
- condition: time
before: '19:30:00'
before: '20:00:00'
- condition: time
after: '06:30:00'
action:
@@ -35,7 +35,7 @@
- condition: time
after: '06:30:10'
- condition: time
before: '19:30:00'
before: '20:00:00'
action:
service: light.turn_off
data:
@@ -100,7 +100,7 @@
below: '70'
- condition: time
before: '06:30:00'
after: '19:30:00'
after: '20:00:00'
action:
- service: scene.turn_on
data:
@@ -120,7 +120,7 @@
entity_id: binary_sensor.arbejdsdag
state: 'on'
- condition: time
after: '19:30:10'
after: '20:00:10'
before: '06:30:00'
action:
service: light.turn_off
+1 -53
View File
@@ -1,65 +1,13 @@
- alias: 'Lys sauna dag - arbejdsdag'
- alias: 'Lys sauna dag'
trigger:
platform: state
entity_id: binary_sensor.sauna_motion_motion
to: 'on'
condition:
- condition: numeric_state
entity_id: sensor.sauna_motion_illuminance
below: 90
- condition: state
entity_id: binary_sensor.arbejdsdag
state: 'on'
- condition: time
before: '22:30:00'
- condition: time
after: '06:00:00'
action:
- service: scene.turn_on
data:
entity_id: scene.sauna_klar
- alias: 'Lys sauna dag - ikke arbejdsdag'
trigger:
platform: state
entity_id: binary_sensor.sauna_motion_motion
to: 'on'
condition:
- condition: numeric_state
entity_id: sensor.sauna_motion_illuminance
below: 90
- condition: state
entity_id: binary_sensor.arbejdsdag
state: 'off'
- condition: time
before: '22:30:00'
- condition: time
after: '06:00:00'
action:
- service: scene.turn_on
data:
entity_id: scene.sauna_klar
- alias: 'Lys i sauna - nat'
trigger:
platform: state
entity_id: binary_sensor.sauna_motion_motion
to: 'on'
condition:
- condition: numeric_state
entity_id: sensor.sauna_motion_illuminance
below: '70'
- condition: time
after: '22:30:00'
- condition: time
before: '06:00:00'
action:
- service: scene.turn_on
data:
entity_id: scene.sauna_daempet
- alias: 'Sluk lys i sauna'
+1 -1
View File
@@ -11,7 +11,7 @@ doorbell:
- service: notify.mobile_app_clausiphone
data:
message: '{{ tekst }}'
- service: notify.mobile_app_annes_iphone_xs
- service: notify.mobile_app_annes_iphone_14_pro
data:
message: '{{ tekst }}'
- choose:
+15 -16
View File
@@ -12,21 +12,20 @@ sunrise:
entity_id: light.sov_midt
xy_color: [0.65,0.41]
brightness: 85
transition: 600
transition: 180
- delay:
seconds: 600
- service: light.turn_on
data:
entity_id: light.sov_midt
xy_color: [0.60,0.40]
brightness: 170
transition: 600
- delay:
seconds: 600
- service: light.turn_on
data:
entity_id: light.sov_midt
xy_color: [0.48,0.40]
brightness: 255
transition: 600
seconds: 180
- parallel:
- service: light.turn_on
data:
entity_id: light.sov_dor
xy_color: [0.60,0.40]
brightness: 100
transition: 180
- service: light.turn_on
data:
entity_id: light.sov_vindue
xy_color: [0.48,0.40]
brightness: 100
transition: 180