From da67be3672ad8aa14dc8d2078827abe85c95b79c Mon Sep 17 00:00:00 2001 From: Claus Dethlefsen Date: Tue, 19 Dec 2023 16:03:02 +0100 Subject: [PATCH] updates --- include/binary_sensors/workday.yaml | 58 ++++++++++---------- include/groups/groups.yaml | 9 ++++ include/scripts/monthly_scene.yaml | 84 +++++++++++++++++++++++++++++ 3 files changed, 122 insertions(+), 29 deletions(-) diff --git a/include/binary_sensors/workday.yaml b/include/binary_sensors/workday.yaml index efa0ff3..c3e1ba4 100644 --- a/include/binary_sensors/workday.yaml +++ b/include/binary_sensors/workday.yaml @@ -1,29 +1,29 @@ - - platform: workday - name: Arbejdsdag - country: DK - add_holidays: - - '2022-12-23' - - '2022-12-24' - - '2022-12-25' - - '2022-12-26' - - '2022-12-27' - - '2022-12-28' - - '2022-12-29' - - '2022-12-30' - - '2022-12-31' - - '2023-01-01' - - platform: workday - name: ArbejdsdagImorgen - days_offset: 1 - country: DK - add_holidays: - - '2022-12-23' - - '2022-12-24' - - '2022-12-25' - - '2022-12-26' - - '2022-12-27' - - '2022-12-28' - - '2022-12-29' - - '2022-12-30' - - '2022-12-31' - - '2023-01-01' +# - platform: workday +# name: Arbejdsdag +# country: DK +# add_holidays: +# - '2022-12-23' +# - '2022-12-24' +# - '2022-12-25' +# - '2022-12-26' +# - '2022-12-27' +# - '2022-12-28' +# - '2022-12-29' +# - '2022-12-30' +# - '2022-12-31' +# - '2023-01-01' +# - platform: workday +# name: ArbejdsdagImorgen +# days_offset: 1 +# country: DK +# add_holidays: +# - '2022-12-23' +# - '2022-12-24' +# - '2022-12-25' +# - '2022-12-26' +# - '2022-12-27' +# - '2022-12-28' +# - '2022-12-29' +# - '2022-12-30' +# - '2022-12-31' +# - '2023-01-01' diff --git a/include/groups/groups.yaml b/include/groups/groups.yaml index 182c911..caabb2c 100644 --- a/include/groups/groups.yaml +++ b/include/groups/groups.yaml @@ -14,6 +14,15 @@ DanielInternet: - switch.localhost # TV - switch.unifi_block_5c_96_66_39_18_4a # PS5 +Nogen: + name: Nogen hjemme + entities: + - person.claus_dethlefsen + - person.anne_schusler_dethlefsen + - person.andreas_schusler_dethlefsen + - person.daniel_schusler_dethlefsen + + Varme: name: Gulvvarme entities : diff --git a/include/scripts/monthly_scene.yaml b/include/scripts/monthly_scene.yaml index fc05f5e..7106e69 100644 --- a/include/scripts/monthly_scene.yaml +++ b/include/scripts/monthly_scene.yaml @@ -30,6 +30,12 @@ monthly_standard_colors: color_name: 'Gold' brightness_pct: 80 transition: 300 + - service: light.turn_on + data: + entity_id: light.spisebord + color_name: 'White' + brightness_pct: 80 + transition: 300 monthly_valentine_colors: sequence: @@ -63,6 +69,12 @@ monthly_valentine_colors: color_name: 'Crimson' brightness_pct: 80 transition: 900 + - service: light.turn_on + data: + entity_id: light.spisebord + color_name: 'White' + brightness_pct: 80 + transition: 300 monthly_mardi_gras_colors: sequence: @@ -96,6 +108,12 @@ monthly_mardi_gras_colors: color_name: 'Green' brightness_pct: 80 transition: 900 + - service: light.turn_on + data: + entity_id: light.spisebord + color_name: 'White' + brightness_pct: 80 + transition: 300 monthly_pi_colors: sequence: @@ -129,6 +147,12 @@ monthly_pi_colors: rgb_color: [3,14,159] brightness_pct: 80 transition: 900 + - service: light.turn_on + data: + entity_id: light.spisebord + color_name: 'White' + brightness_pct: 80 + transition: 300 monthly_st_patty_colors: sequence: @@ -162,6 +186,12 @@ monthly_st_patty_colors: color_name: 'Green' brightness_pct: 80 transition: 900 + - service: light.turn_on + data: + entity_id: light.spisebord + color_name: 'White' + brightness_pct: 80 + transition: 300 monthly_easter_colors: sequence: @@ -195,6 +225,12 @@ monthly_easter_colors: rgb_color: [255,193,204] brightness_pct: 80 transition: 900 + - service: light.turn_on + data: + entity_id: light.spisebord + color_name: 'White' + brightness_pct: 80 + transition: 300 monthly_starwars_colors: sequence: @@ -228,6 +264,12 @@ monthly_starwars_colors: rgb_color: [245,245,245] brightness_pct: 80 transition: 900 + - service: light.turn_on + data: + entity_id: light.spisebord + color_name: 'White' + brightness_pct: 80 + transition: 300 monthly_cinco_de_mayo_colors: sequence: @@ -261,6 +303,12 @@ monthly_cinco_de_mayo_colors: rgb_color: [245,245,245] brightness_pct: 80 transition: 900 + - service: light.turn_on + data: + entity_id: light.spisebord + color_name: 'White' + brightness_pct: 80 + transition: 300 monthly_mothers_day_colors: sequence: @@ -294,6 +342,12 @@ monthly_mothers_day_colors: rgb_color: [244,187,255] brightness_pct: 80 transition: 900 + - service: light.turn_on + data: + entity_id: light.spisebord + color_name: 'White' + brightness_pct: 80 + transition: 300 monthly_fathers_day_colors: sequence: @@ -327,6 +381,12 @@ monthly_fathers_day_colors: color_name: 'Blue' brightness_pct: 80 transition: 900 + - service: light.turn_on + data: + entity_id: light.spisebord + color_name: 'White' + brightness_pct: 80 + transition: 300 monthly_halloween_colors: sequence: @@ -360,6 +420,12 @@ monthly_halloween_colors: rgb_color: [235,97,35] brightness_pct: 80 transition: 900 + - service: light.turn_on + data: + entity_id: light.spisebord + color_name: 'White' + brightness_pct: 80 + transition: 300 monthly_thanksgiving_colors: sequence: @@ -393,6 +459,12 @@ monthly_thanksgiving_colors: color_name: 'Orange' brightness_pct: 80 transition: 900 + - service: light.turn_on + data: + entity_id: light.spisebord + color_name: 'White' + brightness_pct: 80 + transition: 300 monthly_christmas_colors: sequence: @@ -426,6 +498,12 @@ monthly_christmas_colors: color_name: 'Green' brightness_pct: 80 transition: 900 + - service: light.turn_on + data: + entity_id: light.spisebord + color_name: 'White' + brightness_pct: 80 + transition: 300 monthly_new_years_day_colors: sequence: @@ -459,4 +537,10 @@ monthly_new_years_day_colors: color_name: 'Yellow' brightness_pct: 80 transition: 900 + - service: light.turn_on + data: + entity_id: light.spisebord + color_name: 'White' + brightness_pct: 80 + transition: 300