mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-09 10:14:41 +00:00
yamllint
This commit is contained in:
@@ -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 %}
|
||||
|
||||
|
||||
@@ -20,4 +20,3 @@ script:
|
||||
entity_id: media_player.master_bedroom
|
||||
data_template:
|
||||
source: "{{ playlist | default('Evening Chill') }}"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user