More consistent naming for briefings
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
good_morning_report:
|
good_morning:
|
||||||
name: Good Morning Report
|
name: Good Morning
|
||||||
icon: mdi:home-analytics
|
icon: mdi:home-analytics
|
||||||
weather_reports:
|
weather_reports:
|
||||||
name: Weather Info
|
name: Weather Info
|
||||||
|
@ -3,18 +3,18 @@
|
|||||||
###############################
|
###############################
|
||||||
|
|
||||||
input_datetime:
|
input_datetime:
|
||||||
morning_report:
|
morning_briefing:
|
||||||
name: Morning Report
|
name: Morning Briefing
|
||||||
has_date: false
|
has_date: false
|
||||||
has_time: true
|
has_time: true
|
||||||
icon: mdi:home-analytics
|
icon: mdi:home-analytics
|
||||||
nightly_report:
|
nightly_briefing:
|
||||||
name: Nightly Report
|
name: Nightly Briefing
|
||||||
has_date: false
|
has_date: false
|
||||||
has_time: true
|
has_time: true
|
||||||
icon: mdi:home-analytics
|
icon: mdi:home-analytics
|
||||||
daily_report:
|
daily_briefing:
|
||||||
name: Daily Report
|
name: Daily Briefing
|
||||||
has_date: false
|
has_date: false
|
||||||
has_time: true
|
has_time: true
|
||||||
icon: mdi:home-analytics
|
icon: mdi:home-analytics
|
||||||
@ -130,13 +130,13 @@ automation:
|
|||||||
alias: House Briefings
|
alias: House Briefings
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: input_datetime.morning_report
|
at: input_datetime.morning_briefing
|
||||||
id: house-morning
|
id: house-morning
|
||||||
- platform: time
|
- platform: time
|
||||||
at: input_datetime.daily_report
|
at: input_datetime.daily_briefing
|
||||||
id: house-daily
|
id: house-daily
|
||||||
- platform: time
|
- platform: time
|
||||||
at: input_datetime.nightly_report
|
at: input_datetime.nightly_briefing
|
||||||
id: house-nightly
|
id: house-nightly
|
||||||
action:
|
action:
|
||||||
- choose:
|
- choose:
|
||||||
@ -144,7 +144,7 @@ automation:
|
|||||||
- condition: trigger
|
- condition: trigger
|
||||||
id: house-morning
|
id: house-morning
|
||||||
sequence:
|
sequence:
|
||||||
- service: script.morning_report
|
- service: script.morning_briefing
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: trigger
|
- condition: trigger
|
||||||
id: house-daily
|
id: house-daily
|
||||||
@ -213,10 +213,10 @@ script:
|
|||||||
reset_annc_switches:
|
reset_annc_switches:
|
||||||
sequence:
|
sequence:
|
||||||
- service: input_boolean.turn_off
|
- service: input_boolean.turn_off
|
||||||
entity_id: input_boolean.good_morning_report
|
entity_id: input_boolean.good_morning
|
||||||
|
|
||||||
morning_briefing:
|
morning_briefing_alexa:
|
||||||
alias: 'Morning Briefing'
|
alias: 'Morning Briefing Alexa'
|
||||||
sequence:
|
sequence:
|
||||||
- service: button.press
|
- service: button.press
|
||||||
target:
|
target:
|
||||||
@ -278,8 +278,8 @@ script:
|
|||||||
who: common
|
who: common
|
||||||
message: !include ../templates/speech/nightly_briefing.yaml
|
message: !include ../templates/speech/nightly_briefing.yaml
|
||||||
|
|
||||||
morning_report:
|
morning_briefing:
|
||||||
alias: 'Morning Report'
|
alias: 'Morning Briefing'
|
||||||
sequence:
|
sequence:
|
||||||
- service: script.speech_engine
|
- service: script.speech_engine
|
||||||
data:
|
data:
|
||||||
|
@ -275,7 +275,7 @@ script:
|
|||||||
09:00
|
09:00
|
||||||
{% endif %}
|
{% endif %}
|
||||||
- service: input_datetime.set_datetime
|
- service: input_datetime.set_datetime
|
||||||
entity_id: input_datetime.morning_report
|
entity_id: input_datetime.morning_briefing
|
||||||
data_template:
|
data_template:
|
||||||
time: >
|
time: >
|
||||||
{% if is_state('input_boolean.kallen_school_today','on') %}
|
{% if is_state('input_boolean.kallen_school_today','on') %}
|
||||||
@ -296,7 +296,7 @@ script:
|
|||||||
12:00
|
12:00
|
||||||
{% endif %}
|
{% endif %}
|
||||||
- service: input_datetime.set_datetime
|
- service: input_datetime.set_datetime
|
||||||
entity_id: input_datetime.daily_report
|
entity_id: input_datetime.daily_briefing
|
||||||
data_template:
|
data_template:
|
||||||
time: >
|
time: >
|
||||||
{% if is_state('input_boolean.kallen_school_today','on') %}
|
{% if is_state('input_boolean.kallen_school_today','on') %}
|
||||||
@ -351,7 +351,7 @@ script:
|
|||||||
alias: 'House Scheduling Evening'
|
alias: 'House Scheduling Evening'
|
||||||
sequence:
|
sequence:
|
||||||
- service: input_datetime.set_datetime
|
- service: input_datetime.set_datetime
|
||||||
entity_id: input_datetime.nightly_report
|
entity_id: input_datetime.nightly_briefing
|
||||||
data:
|
data:
|
||||||
time: >
|
time: >
|
||||||
{{ (state_attr('input_datetime.kallen_bedtime','timestamp') - 3600) | timestamp_custom('%H:%M', false) }}
|
{{ (state_attr('input_datetime.kallen_bedtime','timestamp') - 3600) | timestamp_custom('%H:%M', false) }}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
>
|
>
|
||||||
{# Kallen Morning Report #}
|
{# Kallen Morning Briefing #}
|
||||||
{%- macro getReport() -%}
|
{%- macro getReport() -%}
|
||||||
<p>
|
<p>
|
||||||
Good morning, Collin.
|
Good morning, Collin.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
>
|
>
|
||||||
{# Kallen Nightly Report #}
|
{# Kallen Nightly Briefing #}
|
||||||
{%- macro getReport() -%}
|
{%- macro getReport() -%}
|
||||||
<p>
|
<p>
|
||||||
Good Evening, Collin,
|
Good Evening, Collin,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
>
|
>
|
||||||
{# Morning Report #}
|
{# Morning Briefing #}
|
||||||
{%- macro getReport() -%}
|
{%- macro getReport() -%}
|
||||||
<p>
|
<p>
|
||||||
{% if now().strftime('%H')|int < 12 and now().strftime('%H')|int > 6 %}
|
{% if now().strftime('%H')|int < 12 and now().strftime('%H')|int > 6 %}
|
||||||
|
Reference in New Issue
Block a user