Move Assist things to regular packages due to filename conflicts
This commit is contained in:
@ -83,6 +83,15 @@ input_boolean:
|
|||||||
name: Kallen Nightly Briefing Ran
|
name: Kallen Nightly Briefing Ran
|
||||||
icon: mdi:home-analytics
|
icon: mdi:home-analytics
|
||||||
|
|
||||||
|
intent_script:
|
||||||
|
PlayAnnouncement:
|
||||||
|
action:
|
||||||
|
service: "script.{{announcement}}"
|
||||||
|
data:
|
||||||
|
who: "{{ who|default('everywhere') }}"
|
||||||
|
speech:
|
||||||
|
text: "Okay"
|
||||||
|
|
||||||
################################
|
################################
|
||||||
# Announcment Automation - fires at the time of the above input_datetimes
|
# Announcment Automation - fires at the time of the above input_datetimes
|
||||||
################################
|
################################
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
intent_script:
|
|
||||||
PlayAnnouncement:
|
|
||||||
action:
|
|
||||||
service: "script.{{announcement}}"
|
|
||||||
data:
|
|
||||||
who: "{{ who|default('everywhere') }}"
|
|
||||||
speech:
|
|
||||||
text: "Okay"
|
|
@ -1,8 +0,0 @@
|
|||||||
intent_script:
|
|
||||||
MasterBedroomModes:
|
|
||||||
action:
|
|
||||||
service: "button.press"
|
|
||||||
data:
|
|
||||||
entity_id: "{{ mode }}"
|
|
||||||
speech:
|
|
||||||
text: "Master bedroom set to {{ mode }}"
|
|
@ -1,9 +0,0 @@
|
|||||||
intent_script:
|
|
||||||
SetVolume:
|
|
||||||
action:
|
|
||||||
service: "media_player.volume_set"
|
|
||||||
data:
|
|
||||||
entity_id: "{{ media_player }}"
|
|
||||||
volume_level: "{{ volume / 100.0 }}"
|
|
||||||
speech:
|
|
||||||
text: "Volume changed to {{ volume }}"
|
|
@ -1,15 +0,0 @@
|
|||||||
intent_script:
|
|
||||||
SportsScore:
|
|
||||||
speech:
|
|
||||||
text: >
|
|
||||||
{% from 'sports.jinja' import sports_pregame, sports_main %}
|
|
||||||
{% set inhibit = "binary_sensor." + team + "_inhibit" %}
|
|
||||||
{% set sensor = "sensor." + team %}
|
|
||||||
{% if is_state(inhibit,'on') %}
|
|
||||||
I do not have any information about the {{ state_attr(team,'friendly_name') }} at this time.
|
|
||||||
{% elif states(sensor) in ["NOT_FOUND"] %}
|
|
||||||
They do not appear to have a game scheduled for today.
|
|
||||||
{% else %}
|
|
||||||
{{ sports_pregame(sensor) }}
|
|
||||||
{{ sports_main(sensor) }}
|
|
||||||
{% endif %}
|
|
@ -255,4 +255,13 @@ input_number:
|
|||||||
max: 100
|
max: 100
|
||||||
step: 1
|
step: 1
|
||||||
unit_of_measurement: °F
|
unit_of_measurement: °F
|
||||||
icon: mdi:thermometer
|
icon: mdi:thermometer
|
||||||
|
|
||||||
|
intent_script:
|
||||||
|
MasterBedroomModes:
|
||||||
|
action:
|
||||||
|
service: "button.press"
|
||||||
|
data:
|
||||||
|
entity_id: "{{ mode }}"
|
||||||
|
speech:
|
||||||
|
text: "Master bedroom set to {{ mode }}"
|
@ -3,6 +3,16 @@ input_boolean:
|
|||||||
name: Spotify Idle or Paused
|
name: Spotify Idle or Paused
|
||||||
icon: mdi:spotify
|
icon: mdi:spotify
|
||||||
|
|
||||||
|
intent_script:
|
||||||
|
SetVolume:
|
||||||
|
action:
|
||||||
|
service: "media_player.volume_set"
|
||||||
|
data:
|
||||||
|
entity_id: "{{ media_player }}"
|
||||||
|
volume_level: "{{ volume / 100.0 }}"
|
||||||
|
speech:
|
||||||
|
text: "Volume changed to {{ volume }}"
|
||||||
|
|
||||||
automation:
|
automation:
|
||||||
- id: beac4fed-5326-49ef-951e-6615d0cf1a7c
|
- id: beac4fed-5326-49ef-951e-6615d0cf1a7c
|
||||||
alias: 'Spotify Page - Everywhere Media Player idle or paused '
|
alias: 'Spotify Page - Everywhere Media Player idle or paused '
|
||||||
|
@ -417,13 +417,12 @@ script:
|
|||||||
entity_id: input_datetime.daily_briefing
|
entity_id: input_datetime.daily_briefing
|
||||||
data:
|
data:
|
||||||
time: >
|
time: >
|
||||||
|
{% from 'time.jinja' import time_from_calendar %}
|
||||||
{% if is_state('input_boolean.kallen_school_today','on') %}
|
{% if is_state('input_boolean.kallen_school_today','on') %}
|
||||||
{% if is_state('input_boolean.kallen_alternate_pickup','on') %}
|
{% if is_state('input_boolean.kallen_alternate_pickup','on') %}
|
||||||
15:00
|
15:00
|
||||||
{% elif is_state('input_boolean.kallen_school_early_release','on') %}
|
|
||||||
12:30
|
|
||||||
{% else %}
|
{% else %}
|
||||||
14:15
|
{{ time_from_calendar('calendar.kallen_school_days','end_time','set','subtract',1) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% elif is_state('input_boolean.kallen_school_today','off') and is_state('input_boolean.work_today','off') %}
|
{% elif is_state('input_boolean.kallen_school_today','off') and is_state('input_boolean.work_today','off') %}
|
||||||
15:00
|
15:00
|
||||||
@ -568,7 +567,7 @@ script:
|
|||||||
{% elif is_state('input_boolean.kallen_school_early_release','on') %}
|
{% elif is_state('input_boolean.kallen_school_early_release','on') %}
|
||||||
12:00
|
12:00
|
||||||
{% else %}
|
{% else %}
|
||||||
13:30
|
13:00
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
14:00
|
14:00
|
||||||
|
@ -407,7 +407,11 @@ script:
|
|||||||
data:
|
data:
|
||||||
time: >
|
time: >
|
||||||
{% from 'time.jinja' import time_from_calendar %}
|
{% from 'time.jinja' import time_from_calendar %}
|
||||||
{{ time_from_calendar('calendar.kallen_school_days','start_time','set') }}
|
{% if is_state('input_boolean.two_hour_delay','on') %}
|
||||||
|
{{ time_from_calendar('calendar.kallen_school_days','start_time','set','add',2) }}
|
||||||
|
{% else %}
|
||||||
|
{{ time_from_calendar('calendar.kallen_school_days','start_time','set') }}
|
||||||
|
{% endif %}
|
||||||
- service: input_boolean.turn_on
|
- service: input_boolean.turn_on
|
||||||
entity_id:
|
entity_id:
|
||||||
- input_boolean.kallen_school_today
|
- input_boolean.kallen_school_today
|
||||||
|
@ -47,4 +47,20 @@ template:
|
|||||||
unique_id: 2c6aae6e-eff6-46e5-bee9-311f9bbc0c0e
|
unique_id: 2c6aae6e-eff6-46e5-bee9-311f9bbc0c0e
|
||||||
state: >
|
state: >
|
||||||
{% from 'sports.jinja' import sports_inhibit %}
|
{% from 'sports.jinja' import sports_inhibit %}
|
||||||
{{ state_attr('sensor.los_angeles_dodgers','opponent_abbr') in ['CLE'] or sports_inhibit('sensor.los_angeles_dodgers') }}
|
{{ state_attr('sensor.los_angeles_dodgers','opponent_abbr') in ['CLE'] or sports_inhibit('sensor.los_angeles_dodgers') }}
|
||||||
|
|
||||||
|
intent_script:
|
||||||
|
SportsScore:
|
||||||
|
speech:
|
||||||
|
text: >
|
||||||
|
{% from 'sports.jinja' import sports_pregame, sports_main %}
|
||||||
|
{% set inhibit = "binary_sensor." + team + "_inhibit" %}
|
||||||
|
{% set sensor = "sensor." + team %}
|
||||||
|
{% if is_state(inhibit,'on') %}
|
||||||
|
I do not have any information about the {{ state_attr(team,'friendly_name') }} at this time.
|
||||||
|
{% elif states(sensor) in ["NOT_FOUND"] %}
|
||||||
|
They do not appear to have a game scheduled for today.
|
||||||
|
{% else %}
|
||||||
|
{{ sports_pregame(sensor) }}
|
||||||
|
{{ sports_main(sensor) }}
|
||||||
|
{% endif %}
|
||||||
|
Reference in New Issue
Block a user