mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 12:10:28 +00:00
Closes #881 - Obsolete Service_TEMPLATE and Data_TEMPLATE
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
###Script to send notifications to the ChromeCast Audios during normal hours and only when we are home! Call like this:
|
||||
# action:
|
||||
# service: script.dog_bark
|
||||
# data_template:
|
||||
# data:
|
||||
# value1: 'Startup: Home Assistant is Up and Running!'
|
||||
|
||||
######################################################################################################
|
||||
@@ -31,7 +31,7 @@ dog_bark:
|
||||
- service: media_player.volume_set
|
||||
entity_id:
|
||||
- media_player.livingroomCC
|
||||
data_template:
|
||||
data:
|
||||
volume_level: >
|
||||
{% if now().strftime("%H")|int < 12 and now().strftime("%H")|int > 6%}
|
||||
0.45
|
||||
@@ -42,7 +42,7 @@ dog_bark:
|
||||
{% endif %}
|
||||
|
||||
- service: media_player.play_media
|
||||
data_template:
|
||||
data:
|
||||
entity_id:
|
||||
- media_player.livingroomCC
|
||||
- media_player.entry_alarm_panel
|
||||
|
Reference in New Issue
Block a user