This commit is contained in:
2020-05-06 04:32:08 +03:00
parent 94581b73b9
commit 9217caba9e
22 changed files with 94 additions and 48 deletions
@@ -65,7 +65,7 @@ automation:
- light.light_le_12
- light.browser_kitchen
data:
brightness_pct: 13 # this is the lowest LE will go ¯\_(ツ)_/¯
brightness_pct: 13 # this is the lowest LE will go ¯\_(ツ)_/¯
- alias: Lighting · Kitchen · Night mode · Motion · Turn lights off
trigger:
@@ -69,4 +69,3 @@ automation:
{% else %}
100
{% endif %}
-1
View File
@@ -20,4 +20,3 @@ script:
entity_id: media_player.master_bedroom
data_template:
source: "{{ playlist | default('Evening Chill') }}"
+4 -2
View File
@@ -21,7 +21,7 @@ shell_command:
script:
youtube_play_file:
alias: Youtube · Play file
alias: Youtube · Play file
sequence:
- service: script.sonos_join_bedroom
- service: media_player.play_media
@@ -65,7 +65,9 @@ script:
- service: media_player.play_media
entity_id: media_player.master_bedroom
data_template:
media_content_id: "{{ states('sensor.sarah_url') }}/local/audio/youtube/{{ states('input_text.youtube_download_name') }}.mp3"
media_content_id: >-
{% set name = states('input_text.youtube_download_name') %}
{{ states('sensor.sarah_url') }}/local/audio/youtube/{{ name }}.mp3
media_content_type: "music"
- service: input_text.set_value
+1 -1
View File
@@ -64,7 +64,7 @@ script:
{% endif %}
{% endif %}
data_template:
title: "{{ title | default('💬 *Speech Module*') }}" # For telegram only
title: "{{ title | default('💬 *Speech Module*') }}" # For telegram only
message: "{{ message }}"
sonos_blast:
+11 -9
View File
@@ -7,7 +7,9 @@ binary_sensor:
- platform: template
sensors:
floorplan_night_mode:
value_template: "{{ states('sun.sun') == 'below_horizon' or is_state('input_boolean.floorplan_night_mode', 'on') }}"
value_template: >-
{{ states('sun.sun') == 'below_horizon'
or is_state('input_boolean.floorplan_night_mode', 'on') }}
sensor:
- platform: command_line
@@ -54,14 +56,14 @@ automation:
- service: script.say
data:
message: "Hey! I was out for a bit, but I'm back online!"
# - service: notify.telegram
# data:
# title: "⚙️ *System Module*"
# message: "Ask me to do something anytime!"
# data:
# keyboard:
# - "/guest_mode_on, /guest_mode_off"
# - "/status"
# - service: notify.telegram
# data:
# title: "⚙️ *System Module*"
# message: "Ask me to do something anytime!"
# data:
# keyboard:
# - "/guest_mode_on, /guest_mode_off"
# - "/status"
- alias: System · Telegram · Announce status
trigger: