mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
Updated media directory name
This commit is contained in:
@@ -18,9 +18,11 @@ sequence:
|
||||
timeout: '00:00:06'
|
||||
continue_on_timeout: 'true'
|
||||
# Send an audio alert
|
||||
- service: tts.google_translate_say
|
||||
data_template:
|
||||
entity_id: media_player.master_bedroom_clock
|
||||
- action: tts.speak
|
||||
target:
|
||||
entity_id: tts.google_translate_en_com
|
||||
data:
|
||||
media_player_entity_id: media_player.master_bedroom_clock
|
||||
message: >-
|
||||
The following are open: {{ dict((states|selectattr('entity_id', 'in', state_attr('group.my_exterior_doors', 'entity_id'))|list)|groupby('state'))['on']|map(attribute='name')|list|join(', ') }}
|
||||
- delay: '00:00:02'
|
||||
|
||||
@@ -25,7 +25,7 @@ sequence:
|
||||
|
||||
- action: media_player.play_media
|
||||
data:
|
||||
media_content_id: media-source://media_source/local/Sounds/alarms/Alarm_Clock.mp3
|
||||
media_content_id: media-source://media_source/local/sounds/alarms/Alarm_Clock.mp3
|
||||
media_content_type: music
|
||||
target:
|
||||
entity_id: media_player.master_bedroom_clock
|
||||
@@ -36,9 +36,11 @@ sequence:
|
||||
seconds: 12
|
||||
milliseconds: 0
|
||||
|
||||
- action: tts.google_translate_say
|
||||
- action: tts.speak
|
||||
target:
|
||||
entity_id: tts.google_translate_en_com
|
||||
data:
|
||||
entity_id: media_player.master_bedroom_clock
|
||||
media_player_entity_id: media_player.master_bedroom_clock
|
||||
message: "{{ response.text }}"
|
||||
|
||||
# - action: tts.speak
|
||||
|
||||
@@ -13,8 +13,8 @@ sequence:
|
||||
{% else %}
|
||||
{{ states("input_select.bridget_status_dropdown") }}
|
||||
{% endif %}
|
||||
{% elif is_state('binary_sensor.have_custody', 'off') %}
|
||||
Off week
|
||||
{% elif is_state('binary_sensor.have_custody', 'off') or is_state('input_select.weaver_kids', 'Away') %}
|
||||
With Sarah
|
||||
{% elif is_state('input_boolean.clint_work_from_home', 'on') %}
|
||||
At Childcare
|
||||
{% else %}
|
||||
|
||||
@@ -17,7 +17,7 @@ sequence:
|
||||
entity_id:
|
||||
- media_player.bathroom_mini
|
||||
data:
|
||||
media_content_id: media-source://media_source/local/Sounds/tts/taking_morning_meds.mp3
|
||||
media_content_id: media-source://media_source/local/sounds/tts/taking_morning_meds.mp3
|
||||
media_content_type: "audio/mpeg"
|
||||
- conditions:
|
||||
- alias: "Afternoon meds needed"
|
||||
@@ -34,7 +34,7 @@ sequence:
|
||||
entity_id:
|
||||
- media_player.bathroom_mini
|
||||
data:
|
||||
media_content_id: media-source://media_source/local/Sounds/tts/taking_afternoon_meds.mp3
|
||||
media_content_id: media-source://media_source/local/sounds/tts/taking_afternoon_meds.mp3
|
||||
media_content_type: "audio/mpeg"
|
||||
default:
|
||||
- service: media_player.play_media
|
||||
@@ -42,5 +42,5 @@ sequence:
|
||||
entity_id:
|
||||
- media_player.bathroom_mini
|
||||
data:
|
||||
media_content_id: media-source://media_source/local/Sounds/tts/meds_not_needed.mp3
|
||||
media_content_id: media-source://media_source/local/sounds/tts/meds_not_needed.mp3
|
||||
media_content_type: "audio/mpeg"
|
||||
|
||||
@@ -5,18 +5,18 @@ sequence:
|
||||
data_template:
|
||||
entity_id: input_text.person_emmett
|
||||
value: >-
|
||||
{% if is_state('input_boolean.emmett_home', 'on') %}
|
||||
{% if is_state('input_boolean.emmett_is_awake','off') %}
|
||||
{% if is_state('input_boolean.bridget_home', 'on') %}
|
||||
{% if is_state('input_boolean.bridget_is_awake','off') %}
|
||||
Sleeping
|
||||
{% elif is_state('input_boolean.emmett_in_bed','on') %}
|
||||
{% elif is_state('input_boolean.bridget_in_bed','on') %}
|
||||
In bed
|
||||
{% else %}
|
||||
{{ states("input_select.emmett_status_dropdown") }}
|
||||
{{ states("input_select.bridget_status_dropdown") }}
|
||||
{% endif %}
|
||||
{% elif is_state('binary_sensor.have_custody', 'off') %}
|
||||
Off week
|
||||
{% elif is_state('binary_sensor.have_custody', 'off') or is_state('input_select.weaver_kids', 'Away') %}
|
||||
With Sarah
|
||||
{% elif is_state('input_boolean.clint_work_from_home', 'on') %}
|
||||
At Childcare
|
||||
{% else %}
|
||||
Somewhere
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user