Next edit
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user