mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-11-06 17:51:36 +00:00
Closes #89 - Soft tones in the evening.
This commit is contained in:
@@ -1 +1 @@
|
||||
{"5": "switch.living_room_amp", "24": "group.outdoor_pool_lights", "39": "input_boolean.last_message", "42": "input_boolean.meal_time", "18": "group.den_lights", "38": "scene.front_full_brightness", "19": "group.all_switches", "7": "group.living_room_accents", "36": "input_boolean.speech_notifications", "20": "switch.garage_outlet", "45": "input_boolean.work", "25": "group.interior_lights", "17": "input_boolean.guest_mode", "27": "group.upstairs_lights", "13": "group.kitchen_lights", "28": "switch.foyer_outlet", "8": "switch.printer_outlet", "15": "group.hallway_lights", "21": "group.bedroom_lights", "3": "switch.kitchen_accents", "10": "group.garage_lights", "4": "group.dinette_lights", "2": "group.outdoor_front_lights", "23": "light.garage_left", "9": "switch.living_room_outlet", "26": "scene.living_room_tv_time", "35": "input_boolean.school_mode", "11": "group.foyer_lights", "43": "input_boolean.tv_time", "40": "input_boolean.responsibilities", "12": "group.all_lights", "22": "light.outdoor_den", "37": "input_boolean.alert_mode", "6": "group.dining_room_lights", "16": "switch.kitchen_accent_2", "31": "group.outdoor_lights", "14": "switch.den_outlet", "44": "input_boolean.good_morning", "33": "group.office_lights", "32": "group.living_room_lights", "41": "input_boolean.home_stats", "1": "switch.front_door_outlet", "29": "group.amps", "34": "group.exterior_lights", "30": "switch.outlet_304_4"}
|
||||
{"27": "group.upstairs_lights", "13": "group.kitchen_lights", "41": "input_boolean.home_stats", "35": "input_boolean.school_mode", "9": "switch.living_room_outlet", "31": "group.outdoor_lights", "38": "scene.front_full_brightness", "45": "input_boolean.work", "18": "group.den_lights", "40": "input_boolean.responsibilities", "28": "switch.foyer_outlet", "32": "group.living_room_lights", "2": "group.outdoor_front_lights", "33": "group.office_lights", "22": "light.outdoor_den", "11": "group.foyer_lights", "46": "light.garage_large", "44": "input_boolean.good_morning", "7": "group.living_room_accents", "29": "group.amps", "17": "input_boolean.guest_mode", "23": "light.garage_left", "16": "switch.kitchen_accent_2", "39": "input_boolean.last_message", "24": "group.outdoor_pool_lights", "34": "group.exterior_lights", "43": "input_boolean.tv_time", "25": "group.interior_lights", "42": "input_boolean.meal_time", "19": "group.all_switches", "26": "scene.living_room_tv_time", "36": "input_boolean.speech_notifications", "3": "switch.kitchen_accents", "30": "switch.outlet_304_4", "10": "group.garage_lights", "5": "switch.living_room_amp", "12": "group.all_lights", "6": "group.dining_room_lights", "15": "group.hallway_lights", "4": "group.dinette_lights", "1": "switch.front_door_outlet", "8": "switch.printer_outlet", "14": "switch.den_outlet", "20": "switch.garage_outlet", "21": "group.bedroom_lights", "37": "input_boolean.alert_mode"}
|
||||
@@ -56,9 +56,9 @@ voice_notify:
|
||||
- media_player.livingroomCC
|
||||
data_template:
|
||||
volume_level: >
|
||||
{% if now().strftime("%H")|int < 12 %}
|
||||
{% if now().strftime("%H")|int < 12 and now().strftime("%H")|int > 6%}
|
||||
0.25
|
||||
{% elif now().strftime("%H")|int < 18 %}
|
||||
{% elif now().strftime("%H")|int > 12 and now().strftime("%H")|int < 17%}
|
||||
0.45
|
||||
{% else %}
|
||||
0.20
|
||||
@@ -74,9 +74,9 @@ voice_notify:
|
||||
entity_id: media_player.livingroomCC
|
||||
data_template:
|
||||
message: >
|
||||
{% if now().strftime("%H")|int < 12 %}
|
||||
{% if now().strftime("%H")|int < 12 and now().strftime("%H")|int > 6%}
|
||||
"Good morning.
|
||||
{% elif now().strftime("%H")|int < 18 %}
|
||||
{% elif now().strftime("%H")|int > 12 and now().strftime("%H")|int < 17%}
|
||||
"Good afternoon.
|
||||
{% else %}
|
||||
"Good evening.
|
||||
|
||||
Reference in New Issue
Block a user