Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 807ebe619c | |||
| cdc31eccb1 | |||
| 8539ad7d0a | |||
| 6a2134b0e9 | |||
| d43c1086dd | |||
| 5518699e45 | |||
| e2517cc0fe | |||
| 173f556f7a | |||
| b0829d6751 | |||
| fdd90eee03 | |||
| 62fd0880e0 |
@@ -0,0 +1,8 @@
|
||||
- binary_sensor:
|
||||
- device_class: presence
|
||||
name: Family Presence
|
||||
state: >
|
||||
{{ is_state('person.anne_schusler_dethlefsen','home')
|
||||
or is_state('person.claus_dethlefsen','home')
|
||||
or is_state('person.andreas_schusler_dethlefsen','home')
|
||||
or is_state('person.daniel_schusler_dethlefsen','home') }}
|
||||
@@ -0,0 +1,7 @@
|
||||
family:
|
||||
name: Familie
|
||||
entities:
|
||||
- person.anne_schusler_dethlefsen
|
||||
- person.claus_dethlefsen
|
||||
- person.andreas_schusler_dethlefsen
|
||||
- person.daniel_schusler_dethlefsen
|
||||
@@ -0,0 +1,23 @@
|
||||
andreas_lux_threshold:
|
||||
name: Andreas lys lux grænse
|
||||
min: 0
|
||||
max: 500
|
||||
step: 5
|
||||
unit_of_measurement: lux
|
||||
initial: 90
|
||||
|
||||
andreas_timeout:
|
||||
name: Andreas lys timeout
|
||||
min: 1
|
||||
max: 60
|
||||
step: 1
|
||||
unit_of_measurement: min
|
||||
initial: 10
|
||||
|
||||
andreas_brightness:
|
||||
name: Andreas lysstyrke
|
||||
min: 1
|
||||
max: 100
|
||||
step: 1
|
||||
unit_of_measurement: "%"
|
||||
initial: 100
|
||||
@@ -0,0 +1,15 @@
|
||||
badevaerelse_timeout_day:
|
||||
name: Badeværelse lys timeout dag
|
||||
min: 1
|
||||
max: 30
|
||||
step: 1
|
||||
unit_of_measurement: min
|
||||
initial: 10
|
||||
|
||||
badevaerelse_timeout_night:
|
||||
name: Badeværelse lys timeout nat
|
||||
min: 1
|
||||
max: 10
|
||||
step: 1
|
||||
unit_of_measurement: min
|
||||
initial: 3
|
||||
@@ -0,0 +1,16 @@
|
||||
kontor_timeout_day:
|
||||
name: Kontor lys timeout dag
|
||||
min: 1
|
||||
max: 60
|
||||
step: 1
|
||||
unit_of_measurement: min
|
||||
initial: 15
|
||||
|
||||
kontor_timeout_night:
|
||||
name: Kontor lys timeout nat
|
||||
min: 1
|
||||
max: 30
|
||||
step: 1
|
||||
unit_of_measurement: min
|
||||
initial: 2
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
roborock_auto_runs_today:
|
||||
name: Roborock Auto Runs Today
|
||||
min: 0
|
||||
max: 2
|
||||
step: 1
|
||||
@@ -3,5 +3,5 @@
|
||||
unique_id: lys_andreas
|
||||
entities:
|
||||
- light.andreas_lysstrip
|
||||
- light.skrivebord
|
||||
- light.andreas_stol
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
unique_id: lys_indenfor
|
||||
entities:
|
||||
- light.andreas
|
||||
- light.andreas_stol
|
||||
- light.hue_lightstrip_plus_1
|
||||
- light.bamse
|
||||
- light.hue_lightstrip_plus_1_2
|
||||
@@ -84,6 +85,7 @@
|
||||
- light.andreas_lysstrip
|
||||
- light.daniel_lysstrip
|
||||
- light.bamse
|
||||
- light.andreas_stol
|
||||
|
||||
|
||||
- platform: group
|
||||
@@ -133,7 +135,7 @@
|
||||
name: ronnebaer
|
||||
unique_id: lys_ronnebær
|
||||
entities:
|
||||
- light.sonoff_1000a721a1 #1 (paradis)
|
||||
- light.sonoff_1000a8c28a_2 # juletræ
|
||||
|
||||
- platform: group
|
||||
name: koste
|
||||
@@ -145,30 +147,33 @@
|
||||
name: terasse
|
||||
unique_id: lys_terasse
|
||||
entities:
|
||||
- light.sonoff_1000a77121 #4 (terasse)
|
||||
- light.sonoff_1000a721a1 # (sonoff 10)
|
||||
# - light.sonoff_100069a6cc # 10 (rønnebær)
|
||||
|
||||
|
||||
- platform: group
|
||||
name: paradis
|
||||
unique_id: lys_paradis
|
||||
entities:
|
||||
- light.sonoff_100069a6cc # 10 (rønnebær)
|
||||
- light.sonoff_1000a70ca0 # (ventilator_loft)
|
||||
|
||||
|
||||
- platform: group
|
||||
name: udetrae
|
||||
unique_id: lys_udetrae
|
||||
entities:
|
||||
- light.sonoff_1000a70ca0 # (ventilator_loft)
|
||||
|
||||
- light.on_off_plug_1
|
||||
|
||||
- platform: group
|
||||
name: julelys
|
||||
unique_id: lys_julelys
|
||||
entities:
|
||||
# - light.ronnebaer
|
||||
- light.ronnebaer
|
||||
- light.koste
|
||||
- light.terasse
|
||||
- light.paradis
|
||||
- light.udetrae
|
||||
- light.on_off_plug_2
|
||||
|
||||
# - light.sonoff_1000a77121 # 4 (terasse)
|
||||
# - light.sonoff_1000a76e41 # 3 (paradisæbletræ)
|
||||
|
||||
@@ -3,7 +3,7 @@ colorloopandreas:
|
||||
use_blueprint:
|
||||
path: mdolnik/color_loop.yaml
|
||||
input:
|
||||
light: light.andreas_vaerelse
|
||||
light: light.andreas_lysstrip
|
||||
color_1:
|
||||
- 255
|
||||
- 38
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
doorbell:
|
||||
alias: Dørklokke
|
||||
sequence:
|
||||
- service: notify.mobile_app_clausiphone
|
||||
- service: notify.mobile_app_clausiphone15
|
||||
data:
|
||||
message: '{{ tekst }}'
|
||||
- service: notify.mobile_app_annes_iphone_14_pro
|
||||
@@ -84,6 +84,46 @@ doorbell:
|
||||
- {}
|
||||
- media_content_type: app
|
||||
media_content_id: media-source://media_source
|
||||
- service: media_player.volume_set
|
||||
data:
|
||||
volume_level: "{{ volumendag }}"
|
||||
target:
|
||||
entity_id: media_player.andreas
|
||||
- service: media_player.play_media
|
||||
target:
|
||||
entity_id: media_player.andreas
|
||||
data:
|
||||
media_content_id: media-source://media_source/local/doorbell.mp3
|
||||
media_content_type: audio/mpeg
|
||||
metadata:
|
||||
title: doorbell.mp3
|
||||
thumbnail:
|
||||
media_class: music
|
||||
children_media_class:
|
||||
navigateIds:
|
||||
- {}
|
||||
- media_content_type: app
|
||||
media_content_id: media-source://media_source
|
||||
- service: media_player.volume_set
|
||||
data:
|
||||
volume_level: "{{ volumendag }}"
|
||||
target:
|
||||
entity_id: media_player.daniel
|
||||
- service: media_player.play_media
|
||||
target:
|
||||
entity_id: media_player.daniel
|
||||
data:
|
||||
media_content_id: media-source://media_source/local/doorbell.mp3
|
||||
media_content_type: audio/mpeg
|
||||
metadata:
|
||||
title: doorbell.mp3
|
||||
thumbnail:
|
||||
media_class: music
|
||||
children_media_class:
|
||||
navigateIds:
|
||||
- {}
|
||||
- media_content_type: app
|
||||
media_content_id: media-source://media_source
|
||||
|
||||
- service: media_player.play_media
|
||||
target:
|
||||
@@ -92,7 +132,7 @@ doorbell:
|
||||
media_content_id: media-source://tts/google_translate?message=der+er+nogen+der+ringer+p%C3%A5%0A
|
||||
media_content_type: provider
|
||||
metadata:
|
||||
title: 'der er nogen der ringer på
|
||||
title: 'der er nogen der ringer på bagdøren
|
||||
|
||||
'
|
||||
thumbnail: https://brands.home-assistant.io/_/google_translate/logo.png
|
||||
@@ -118,3 +158,22 @@ doorbell:
|
||||
- delay: 2
|
||||
- service: scene.turn_on
|
||||
entity_id: scene.before
|
||||
- service: media_player.volume_set
|
||||
data:
|
||||
volume_level: "{{ volumennat }}"
|
||||
target:
|
||||
entity_id: media_player.lille_badevaerelse
|
||||
- service: media_player.volume_set
|
||||
data:
|
||||
volume_level: "{{ volumennat }}"
|
||||
target:
|
||||
entity_id: media_player.daniel
|
||||
- service: media_player.volume_set
|
||||
data:
|
||||
volume_level: "{{ volumennat }}"
|
||||
target:
|
||||
entity_id: media_player.andreas
|
||||
- service: media_player.select_source
|
||||
data:
|
||||
entity_id: media_player.denon_avr_x2300w
|
||||
source: TV Audio
|
||||
|
||||
@@ -4,25 +4,25 @@ monthly_standard_colors:
|
||||
data:
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 300
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 300
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 300
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.raket
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 300
|
||||
- service: light.turn_on
|
||||
data:
|
||||
@@ -34,7 +34,7 @@ monthly_standard_colors:
|
||||
data:
|
||||
entity_id: light.spisebord
|
||||
color_name: 'White'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 300
|
||||
|
||||
monthly_valentine_colors:
|
||||
@@ -43,37 +43,37 @@ monthly_valentine_colors:
|
||||
data:
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Crimson'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Crimson'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Crimson'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.raket
|
||||
color_name: 'Crimson'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.syd
|
||||
color_name: 'Crimson'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.spisebord
|
||||
color_name: 'White'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 300
|
||||
|
||||
monthly_mardi_gras_colors:
|
||||
@@ -82,37 +82,37 @@ monthly_mardi_gras_colors:
|
||||
data:
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.raket
|
||||
color_name: 'Purple'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.syd
|
||||
color_name: 'Green'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.spisebord
|
||||
color_name: 'White'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 300
|
||||
|
||||
monthly_pi_colors:
|
||||
@@ -121,37 +121,37 @@ monthly_pi_colors:
|
||||
data:
|
||||
entity_id: light.pendle1
|
||||
rgb_color: [3,14,159]
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
rgb_color: [3,14,159]
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
rgb_color: [3,14,159]
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.raket
|
||||
rgb_color: [3,14,159]
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.syd
|
||||
rgb_color: [3,14,159]
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.spisebord
|
||||
color_name: 'White'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 300
|
||||
|
||||
monthly_st_patty_colors:
|
||||
@@ -160,37 +160,37 @@ monthly_st_patty_colors:
|
||||
data:
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Green'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Green'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Green'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.raket
|
||||
color_name: 'Green'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.syd
|
||||
color_name: 'Green'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.spisebord
|
||||
color_name: 'White'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 300
|
||||
|
||||
monthly_easter_colors:
|
||||
@@ -199,37 +199,37 @@ monthly_easter_colors:
|
||||
data:
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.raket
|
||||
color_name: 'Yellow'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.syd
|
||||
rgb_color: [255,193,204]
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.spisebord
|
||||
color_name: 'White'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 300
|
||||
|
||||
monthly_starwars_colors:
|
||||
@@ -238,37 +238,37 @@ monthly_starwars_colors:
|
||||
data:
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.raket
|
||||
rgb_color: [204,0,0]
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.syd
|
||||
rgb_color: [245,245,245]
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.spisebord
|
||||
color_name: 'White'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 300
|
||||
|
||||
monthly_cinco_de_mayo_colors:
|
||||
@@ -277,37 +277,37 @@ monthly_cinco_de_mayo_colors:
|
||||
data:
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.raket
|
||||
rgb_color: [204,0,0]
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.syd
|
||||
rgb_color: [245,245,245]
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.spisebord
|
||||
color_name: 'White'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 300
|
||||
|
||||
monthly_mothers_day_colors:
|
||||
@@ -316,37 +316,37 @@ monthly_mothers_day_colors:
|
||||
data:
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.raket
|
||||
rgb_color: [244,187,255]
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.syd
|
||||
rgb_color: [244,187,255]
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.spisebord
|
||||
color_name: 'White'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 300
|
||||
|
||||
monthly_fathers_day_colors:
|
||||
@@ -355,37 +355,37 @@ monthly_fathers_day_colors:
|
||||
data:
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.raket
|
||||
color_name: 'Orange'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.syd
|
||||
color_name: 'Blue'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.spisebord
|
||||
color_name: 'White'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 300
|
||||
|
||||
monthly_halloween_colors:
|
||||
@@ -394,37 +394,37 @@ monthly_halloween_colors:
|
||||
data:
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.raket
|
||||
rgb_color: [235,97,35]
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.syd
|
||||
rgb_color: [235,97,35]
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.spisebord
|
||||
color_name: 'White'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 300
|
||||
|
||||
monthly_thanksgiving_colors:
|
||||
@@ -433,37 +433,37 @@ monthly_thanksgiving_colors:
|
||||
data:
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.raket
|
||||
color_name: 'Orange'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.syd
|
||||
color_name: 'Orange'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.spisebord
|
||||
color_name: 'White'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 300
|
||||
|
||||
monthly_christmas_colors:
|
||||
@@ -472,37 +472,37 @@ monthly_christmas_colors:
|
||||
data:
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.raket
|
||||
color_name: 'Red'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.syd
|
||||
color_name: 'Green'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.spisebord
|
||||
color_name: 'White'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 300
|
||||
|
||||
monthly_new_years_day_colors:
|
||||
@@ -511,36 +511,36 @@ monthly_new_years_day_colors:
|
||||
data:
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.raket
|
||||
color_name: 'Blue'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.syd
|
||||
color_name: 'Yellow'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.spisebord
|
||||
color_name: 'White'
|
||||
brightness_pct: 80
|
||||
brightness_pct: 100
|
||||
transition: 300
|
||||
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
overvaagning:
|
||||
alias: AI indkorsel
|
||||
sequence:
|
||||
- metadata: {}
|
||||
data:
|
||||
filename: /config/www/indkorsel_snapshot.jpg
|
||||
target:
|
||||
device_id: cf4f218aae515c84aea9f37f190dcfd5
|
||||
enabled: true
|
||||
action: camera.snapshot
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 0
|
||||
seconds: 0
|
||||
milliseconds: 500
|
||||
enabled: true
|
||||
- metadata: {}
|
||||
data:
|
||||
filename: /config/www/indkorsel_snapshot_1.jpg
|
||||
target:
|
||||
device_id: cf4f218aae515c84aea9f37f190dcfd5
|
||||
enabled: true
|
||||
action: camera.snapshot
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 0
|
||||
seconds: 0
|
||||
milliseconds: 500
|
||||
enabled: true
|
||||
- metadata: {}
|
||||
data:
|
||||
filename: /config/www/indkorsel_snapshot_2.jpg
|
||||
target:
|
||||
device_id: cf4f218aae515c84aea9f37f190dcfd5
|
||||
enabled: true
|
||||
action: camera.snapshot
|
||||
- metadata: {}
|
||||
data:
|
||||
prompt: >-
|
||||
Bevægelse er blevet opdaget – hvad ser du på billedet? Hvis du ser en
|
||||
person eller en bil, giv en kort beskrivelse af dem. Forsøg at inkludere
|
||||
detaljer som tøj eller nummerplade, hvis muligt. Beskriv ikke bygninger
|
||||
eller stationære objekter. Hvis der ikke er nogen synlig årsag til
|
||||
bevægelsen, svar blot med 'Ingen åbenlys bevægelse detekteret.' Hold
|
||||
beskeden kort og underholdende – som en notifikation på Apple!
|
||||
filenames:
|
||||
- /config/www/indkorsel_snapshot.jpg
|
||||
response_variable: generated_content
|
||||
action: google_generative_ai_conversation.generate_content
|
||||
- if:
|
||||
- condition: template
|
||||
value_template: "{{ 'No Obvious Motion Detected.' in generated_content.text }}"
|
||||
then:
|
||||
- stop: ""
|
||||
else:
|
||||
- metadata: {}
|
||||
data:
|
||||
title: Bevægelse i indkørsel
|
||||
message: >-
|
||||
{{ generated_content['text'] }} - Tid: {{ now().strftime('%Y-%m-%d
|
||||
%H:%M:%S') }}
|
||||
data:
|
||||
image: /local/indkorsel_snapshot.jpg
|
||||
action: notify.mobile_app_clausiphone15
|
||||
- data:
|
||||
entity_id: input_text.last_notification_message
|
||||
value: >-
|
||||
{{ generated_content['text'] }} - Tid: {{ now().strftime('%Y-%m-%d
|
||||
%H:%M:%S') }}
|
||||
action: input_text.set_value
|
||||
mode: single
|
||||
description: ""
|
||||
@@ -0,0 +1,5 @@
|
||||
- platform: template
|
||||
sensors:
|
||||
living_room_tv_source:
|
||||
value_template: '{{ states.media_player.stue_2.attributes["source"] }}'
|
||||
friendly_name: 'Living Room TV Source'
|
||||
@@ -0,0 +1,7 @@
|
||||
- platform: statistics
|
||||
name: "Badeværelse nat-tændinger statistik"
|
||||
entity_id: input_number.nattis
|
||||
sampling_size: 200
|
||||
state_characteristic: change
|
||||
max_age:
|
||||
hours: 24
|
||||
Reference in New Issue
Block a user