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 entity_id: binary_sensor.indkorsel_sensor_motion
to: 'on' to: 'on'
action: action:
- service: notify.mobile_app_claus_iphone8 - service: notify.mobile_app_claus_iphone12
data: data:
message: "Der er nogen i indkørslen" message: "Der er nogen i indkørslen"
# - service: script.sonos_say # - service: script.sonos_say
@@ -17,10 +17,10 @@
data: data:
scene_id: before scene_id: before
snapshot_entities: snapshot_entities:
- light.stol - light.pendle1
- service: light.turn_on - service: light.turn_on
data: data:
entity_id: light.stol entity_id: light.pendle1
brightness: 255 brightness: 255
rgb_color: [255, 0, 0] rgb_color: [255, 0, 0]
flash: long flash: long
+2 -1
View File
@@ -14,7 +14,8 @@
- alias: 'Godmorgen' - alias: 'Godmorgen'
trigger: trigger:
platform: state 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' to: 'on'
condition: condition:
- condition: time - condition: time
+4 -3
View File
@@ -8,10 +8,11 @@
entity_id: binary_sensor.arbejdsdag entity_id: binary_sensor.arbejdsdag
state: 'on' state: 'on'
action: action:
- service: sonos.join - service: media_player.join
target:
entity_id: media_player.kokken
data: data:
master: media_player.kokken group_members:
entity_id:
- media_player.badevaerelse - media_player.badevaerelse
- media_player.sovevaerelse - media_player.sovevaerelse
- media_player.stue - media_player.stue
+7 -7
View File
@@ -5,7 +5,7 @@
to: 'home' to: 'home'
action: action:
service: notify.mobile_app_claus_iphone8 service: notify.mobile_app_claus_iphone12
data: data:
message: 'Mor kommer hjem' message: 'Mor kommer hjem'
@@ -27,7 +27,7 @@
to: 'home' to: 'home'
action: action:
service: notify.mobile_app_claus_iphone8 service: notify.mobile_app_claus_iphone12
data: data:
message: 'Daniel kommer hjem' message: 'Daniel kommer hjem'
@@ -50,7 +50,7 @@
to: 'home' to: 'home'
action: action:
service: notify.mobile_app_claus_iphone8 service: notify.mobile_app_claus_iphone12
data: data:
message: 'Andreas kommer hjem' message: 'Andreas kommer hjem'
@@ -74,7 +74,7 @@
to: 'Skole' to: 'Skole'
action: action:
service: notify.mobile_app_claus_iphone8 service: notify.mobile_app_claus_iphone12
data: data:
message: 'Andreas ankommer til skole' message: 'Andreas ankommer til skole'
@@ -85,7 +85,7 @@
from: 'Skole' from: 'Skole'
action: action:
service: notify.mobile_app_claus_iphone8 service: notify.mobile_app_claus_iphone12
data: data:
message: 'Andreas tager fra skole' message: 'Andreas tager fra skole'
@@ -110,7 +110,7 @@
to: 'Skole' to: 'Skole'
action: action:
service: notify.mobile_app_claus_iphone8 service: notify.mobile_app_claus_iphone12
data: data:
message: 'Daniel ankommer til skole' message: 'Daniel ankommer til skole'
@@ -121,7 +121,7 @@
from: 'Skole' from: 'Skole'
action: action:
service: notify.mobile_app_claus_iphone8 service: notify.mobile_app_claus_iphone12
data: data:
message: 'Daniel tager fra skole' message: 'Daniel tager fra skole'
+3 -2
View File
@@ -17,7 +17,8 @@
- alias: 'Sunset Stuff on' - alias: 'Sunset Stuff on'
trigger: trigger:
platform: state 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' to: 'on'
# - platform: sun # - platform: sun
@@ -43,7 +44,7 @@
- service: light.turn_on - service: light.turn_on
entity_id: entity_id:
- light.raket - light.raket
- light.syd # - light.syd
- light.pendle1 - light.pendle1
- light.pendle2 - light.pendle2
- light.panton - light.panton
+6 -4
View File
@@ -8,9 +8,9 @@
entity_id: binary_sensor.arbejdsdag entity_id: binary_sensor.arbejdsdag
state: 'on' state: 'on'
action: action:
- service: sonos.unjoin - service: media_player.unjoin
entity_id: media_player.badevaerelse entity_id: media_player.badevaerelse
- service: sonos.unjoin - service: media_player.unjoin
entity_id: media_player.sovevaerelse entity_id: media_player.sovevaerelse
- alias: 'Gruppe køkken uden stue, alrum' - alias: 'Gruppe køkken uden stue, alrum'
@@ -22,8 +22,10 @@
entity_id: binary_sensor.arbejdsdag entity_id: binary_sensor.arbejdsdag
state: 'on' state: 'on'
action: action:
- service: sonos.unjoin - service: media_player.unjoin
entity_id: media_player.kokken entity_id: media_player.alrum
- service: media_player.unjoin
entity_id: media_player.stue
+11 -11
View File
@@ -1,11 +1,11 @@
- platform: rest # - platform: rest
name: "Stue Motion Sensor" # name: "Stue Motion Sensor"
resource: !secret stue_url # resource: !secret stue_url
device_class: motion # device_class: motion
scan_interval: 10 # scan_interval: 10
value_template: >- # value_template: >-
{%- if "<motionDetectAlarm>2</motionDetectAlarm>" in value -%} # {%- if "<motionDetectAlarm>2</motionDetectAlarm>" in value -%}
{{ true }} # {{ true }}
{%- else -%} # {%- else -%}
{{ false }} # {{ false }}
{%- endif -%} # {%- endif -%}
+5 -6
View File
@@ -2,6 +2,11 @@
name: Arbejdsdag name: Arbejdsdag
country: DK country: DK
add_holidays: add_holidays:
- '2022-10-21'
- '2022-10-20'
- '2022-10-19'
- '2022-10-18'
- '2022-10-17'
- '2022-02-22' - '2022-02-22'
- '2022-02-23' - '2022-02-23'
- '2022-02-24' - '2022-02-24'
@@ -35,9 +40,3 @@
- '2022-07-28' - '2022-07-28'
- '2022-07-29' - '2022-07-29'
- '2022-08-01' - '2022-08-01'
- '2022-08-02'
- '2022-08-03'
- '2022-08-04'
- '2022-08-05'
- '2022-08-08'
- '2022-08-09'
+2 -2
View File
@@ -72,8 +72,8 @@
entities: entities:
- light.indkorsel_plug - light.indkorsel_plug
- light.udendors_forgang - light.udendors_forgang
- light.light.hue_ambiance_lamp_1_2 - light.hue_ambiance_lamp_1_2
- light.light.hue_ambiance_lamp_1_3 - light.hue_ambiance_lamp_1_3
- light.hue_ambiance_lamp_2 - light.hue_ambiance_lamp_2
- platform: group - platform: group
+1 -1
View File
@@ -1,4 +1,4 @@
standard_monthly_colors: monthly_standard_colors:
sequence: sequence:
- service: light.turn_on - service: light.turn_on
data: data:
+2
View File
@@ -60,6 +60,8 @@ tile_password: Hwli03yitw
# ######################################## # ########################################
ifttt_key: pnM5Eo1wF2D24EcxTBbLY5xnBL3cbvLmSHlMDbsxVhP ifttt_key: pnM5Eo1wF2D24EcxTBbLY5xnBL3cbvLmSHlMDbsxVhP
# password: Hwli03yitw
# claus.dethlefsen@gmail.com
# ######################################## # ########################################