Buncha things the UI keeps wanting to change...
This commit is contained in:
@ -362,8 +362,8 @@
|
|||||||
actions:
|
actions:
|
||||||
- service: script.text_notify
|
- service: script.text_notify
|
||||||
data:
|
data:
|
||||||
who: 'all'
|
who: all
|
||||||
title: 'Low Batteries in House'
|
title: Low Batteries in House
|
||||||
message: 'Low battery alert for: {{sensors}}'
|
message: 'Low battery alert for: {{sensors}}'
|
||||||
- id: '1655493590791'
|
- id: '1655493590791'
|
||||||
alias: NWS Announce Weather Alert for Tornado (CLEAR)
|
alias: NWS Announce Weather Alert for Tornado (CLEAR)
|
||||||
|
27
scripts.yaml
27
scripts.yaml
@ -50,17 +50,14 @@ give_me_darkness:
|
|||||||
- downstairs_bathroom
|
- downstairs_bathroom
|
||||||
data: {}
|
data: {}
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: >
|
value_template: "{% if is_state('input_boolean.work_today','on') and state_attr('input_datetime.tina_workday_end','timestamp')
|
||||||
{% if is_state('input_boolean.work_today','on') and state_attr('input_datetime.tina_workday_end','timestamp') > state_attr('input_datetime.kallen_bedtime','timestamp') %}
|
> state_attr('input_datetime.kallen_bedtime','timestamp') %}\n false\n{% else
|
||||||
false
|
%}\n true\n{% endif %}\n"
|
||||||
{% else %}
|
|
||||||
true
|
|
||||||
{% endif %}
|
|
||||||
- service: script.activate_alexa_actionable_notification
|
- service: script.activate_alexa_actionable_notification
|
||||||
data_template:
|
data_template:
|
||||||
text: 'Would you like me to arm the security system?'
|
text: Would you like me to arm the security system?
|
||||||
event_id: 'actionable_notification_night_security_arm'
|
event_id: actionable_notification_night_security_arm
|
||||||
alexa_device: "{{ states('sensor.last_alexa') }}"
|
alexa_device: '{{ states(''sensor.last_alexa'') }}'
|
||||||
mode: single
|
mode: single
|
||||||
icon: mdi:weather-night
|
icon: mdi:weather-night
|
||||||
start_youtube:
|
start_youtube:
|
||||||
@ -230,9 +227,9 @@ going_upstairs:
|
|||||||
- service: script.asus_laptop_shutdown
|
- service: script.asus_laptop_shutdown
|
||||||
- service: script.activate_alexa_actionable_notification
|
- service: script.activate_alexa_actionable_notification
|
||||||
data_template:
|
data_template:
|
||||||
text: 'Would you like me to shut down your computer?'
|
text: Would you like me to shut down your computer?
|
||||||
event_id: 'actionable_notification_shutdown_computer'
|
event_id: actionable_notification_shutdown_computer
|
||||||
alexa_device: 'media_player.basement_echo_dot'
|
alexa_device: media_player.basement_echo_dot
|
||||||
- wait_for_trigger:
|
- wait_for_trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id:
|
entity_id:
|
||||||
@ -261,9 +258,9 @@ basement_on:
|
|||||||
entity_id: media_player.basement_tv
|
entity_id: media_player.basement_tv
|
||||||
- service: script.activate_alexa_actionable_notification
|
- service: script.activate_alexa_actionable_notification
|
||||||
data_template:
|
data_template:
|
||||||
text: 'Would you like me to turn on the computer for Colin?'
|
text: Would you like me to turn on the computer for Colin?
|
||||||
event_id: 'actionable_notification_kallen_computer_on'
|
event_id: actionable_notification_kallen_computer_on
|
||||||
alexa_device: "{{ states('sensor.last_alexa') }}"
|
alexa_device: '{{ states(''sensor.last_alexa'') }}'
|
||||||
mode: single
|
mode: single
|
||||||
icon: hue:room-stairs
|
icon: hue:room-stairs
|
||||||
start_youtube_basement:
|
start_youtube_basement:
|
||||||
|
Reference in New Issue
Block a user