mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-08-20 12:46:45 +00:00
Several updates...major - started migrating off smartthings to direct zwave.
This commit is contained in:
@@ -56,8 +56,8 @@ automation:
|
||||
entity_id: input_boolean.tiki_room_audio
|
||||
to: 'off'
|
||||
action:
|
||||
- service: script.turn_off
|
||||
entity_id: script.tiki_room_audio
|
||||
- service: media_player.media_stop
|
||||
entity_id: media_player.hass_speaker
|
||||
- service: script.turn_on
|
||||
entity_id: script.kill_this_ride
|
||||
- id: illuminations_on
|
||||
@@ -335,6 +335,8 @@ script:
|
||||
- service: shell_command.mk_audio
|
||||
kill_this_ride:
|
||||
sequence:
|
||||
- service: media_player.media_stop
|
||||
entity_id: media_player.hass_speaker
|
||||
- service: shell_command.alarm_off
|
||||
- service: script.turn_off
|
||||
data:
|
||||
@@ -492,7 +494,12 @@ script:
|
||||
- condition: state
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
- service: shell_command.tiki_room_audio
|
||||
#- service: shell_command.tiki_room_audio
|
||||
- service: media_player.play_media
|
||||
entity_id: media_player.hass_speaker
|
||||
data:
|
||||
media_content_id: /media/audio/tiki_room_audio.mp3
|
||||
media_content_type: "music"
|
||||
happy_ever_after:
|
||||
sequence:
|
||||
- condition: state
|
||||
|
@@ -118,6 +118,9 @@ script:
|
||||
- condition: state
|
||||
entity_id: input_boolean.vacation_mode
|
||||
state: 'off'
|
||||
- condition: state
|
||||
entity_id: media_player.hass_speaker
|
||||
state: 'idle'
|
||||
- service: tts.google_say
|
||||
data_template:
|
||||
entity_id: media_player.hass_speaker
|
||||
|
@@ -86,7 +86,7 @@ automation:
|
||||
- condition: template
|
||||
value_template: '{{ trigger.to_state.state|float > trigger.from_state.state|float }}'
|
||||
action:
|
||||
- service: notify.all_ios
|
||||
- service: notify.jeff_ios
|
||||
data_template:
|
||||
message: >
|
||||
{% if states.sensor.nws_alerts.attributes.title.split(' - ')[5] is defined %}
|
||||
@@ -116,7 +116,7 @@ automation:
|
||||
- condition: template
|
||||
value_template: '{{ trigger.to_state.state|float > trigger.from_state.state|float }}'
|
||||
- condition: template
|
||||
value_template: "{{ (('Severe' in states.sensor.nws_alerts.attributes.title) or ('Thunderstorm' in states.sensor.nws_alerts.attributes.title) or ('Flood' in states.sensor.nws_alerts.attributes.title)) and 'Warning' in states.sensor.nws_alerts.attributes.title }}"
|
||||
value_template: "{{ (('Severe' in states.sensor.nws_alerts.attributes.title) or ('Thunderstorm' in states.sensor.nws_alerts.attributes.title)) and 'Warning' in states.sensor.nws_alerts.attributes.title }}"
|
||||
action:
|
||||
- service: script.voice_notify
|
||||
data_template:
|
||||
@@ -197,4 +197,4 @@ script:
|
||||
data_template:
|
||||
notification_id: "nwswxalert"
|
||||
message: "{{ message }}"
|
||||
title: '{{ title }}'
|
||||
title: '{{ title }}'
|
||||
|
Reference in New Issue
Block a user