Next edit

This commit is contained in:
2022-11-16 17:43:50 +01:00
parent d13cdd3a14
commit d14c3ed8bc
11 changed files with 46 additions and 40 deletions
@@ -4,7 +4,7 @@
entity_id: binary_sensor.indkorsel_sensor_motion
to: 'on'
action:
- service: notify.mobile_app_claus_iphone8
- service: notify.mobile_app_claus_iphone12
data:
message: "Der er nogen i indkørslen"
# - service: script.sonos_say
@@ -17,10 +17,10 @@
data:
scene_id: before
snapshot_entities:
- light.stol
- light.pendle1
- service: light.turn_on
data:
entity_id: light.stol
entity_id: light.pendle1
brightness: 255
rgb_color: [255, 0, 0]
flash: long
+2 -1
View File
@@ -14,7 +14,8 @@
- alias: 'Godmorgen'
trigger:
platform: state
entity_id: binary_sensor.stue_motion_sensor
# entity_id: binary_sensor.stue_motion_sensor
entity_id: binary_sensor.gang_sensor_motion
to: 'on'
condition:
- condition: time
+4 -3
View File
@@ -8,10 +8,11 @@
entity_id: binary_sensor.arbejdsdag
state: 'on'
action:
- service: sonos.join
- service: media_player.join
target:
entity_id: media_player.kokken
data:
master: media_player.kokken
entity_id:
group_members:
- media_player.badevaerelse
- media_player.sovevaerelse
- media_player.stue
+7 -7
View File
@@ -5,7 +5,7 @@
to: 'home'
action:
service: notify.mobile_app_claus_iphone8
service: notify.mobile_app_claus_iphone12
data:
message: 'Mor kommer hjem'
@@ -27,7 +27,7 @@
to: 'home'
action:
service: notify.mobile_app_claus_iphone8
service: notify.mobile_app_claus_iphone12
data:
message: 'Daniel kommer hjem'
@@ -50,7 +50,7 @@
to: 'home'
action:
service: notify.mobile_app_claus_iphone8
service: notify.mobile_app_claus_iphone12
data:
message: 'Andreas kommer hjem'
@@ -74,7 +74,7 @@
to: 'Skole'
action:
service: notify.mobile_app_claus_iphone8
service: notify.mobile_app_claus_iphone12
data:
message: 'Andreas ankommer til skole'
@@ -85,7 +85,7 @@
from: 'Skole'
action:
service: notify.mobile_app_claus_iphone8
service: notify.mobile_app_claus_iphone12
data:
message: 'Andreas tager fra skole'
@@ -110,7 +110,7 @@
to: 'Skole'
action:
service: notify.mobile_app_claus_iphone8
service: notify.mobile_app_claus_iphone12
data:
message: 'Daniel ankommer til skole'
@@ -121,7 +121,7 @@
from: 'Skole'
action:
service: notify.mobile_app_claus_iphone8
service: notify.mobile_app_claus_iphone12
data:
message: 'Daniel tager fra skole'
+3 -2
View File
@@ -17,7 +17,8 @@
- alias: 'Sunset Stuff on'
trigger:
platform: state
entity_id: binary_sensor.stue_motion_sensor
# entity_id: binary_sensor.stue_motion_sensor
entity_id: binary_sensor.gang_sensor_motion
to: 'on'
# - platform: sun
@@ -43,7 +44,7 @@
- service: light.turn_on
entity_id:
- light.raket
- light.syd
# - light.syd
- light.pendle1
- light.pendle2
- light.panton
+6 -4
View File
@@ -8,9 +8,9 @@
entity_id: binary_sensor.arbejdsdag
state: 'on'
action:
- service: sonos.unjoin
- service: media_player.unjoin
entity_id: media_player.badevaerelse
- service: sonos.unjoin
- service: media_player.unjoin
entity_id: media_player.sovevaerelse
- alias: 'Gruppe køkken uden stue, alrum'
@@ -22,8 +22,10 @@
entity_id: binary_sensor.arbejdsdag
state: 'on'
action:
- service: sonos.unjoin
entity_id: media_player.kokken
- service: media_player.unjoin
entity_id: media_player.alrum
- service: media_player.unjoin
entity_id: media_player.stue