Removed more stuff from failed K nightly briefing

This commit is contained in:
2022-04-05 19:09:41 -04:00
parent 2176f47227
commit 829085032e
2 changed files with 1 additions and 22 deletions

View File

@ -74,15 +74,3 @@ script:
- service: button.press
target:
entity_id: button.good_morning
kallen_nightly_briefing:
sequence:
- service: script.local_audio
data_template:
media: "/media/music/ES_RiserSuction5.mp3"
volume: .5
speaker: 'media_player.living_room_echo_dot'
- service: script.text_notify
data_template:
who: "all_ios"
message: "Time for Kallen to get ready for bed."

View File

@ -90,13 +90,4 @@
value_template: "{{ ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'][now().weekday()] }}"
month_is:
friendly_name: 'Month is'
value_template: "{{ ['January','February','March','April','May','June','August','September','October','November','December'][now().month-1] }}"
school_tomorrow:
friendly_name: 'School Tomorrow'
value_template: >-
{%- set test=(as_timestamp(now())+ (86400)) | timestamp_custom("%Y-%m-%d",true) %}
{% if states.calendar.kallen_school.attributes.start_time == test + " 07:35:00" %}
on
{% else %}
off
{% endif %}
value_template: "{{ ['January','February','March','April','May','June','August','September','October','November','December'][now().month-1] }}"