mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-13 11:44:43 +00:00
Change Alias styles to use ·
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
automation:
|
||||
- id: cube_knock
|
||||
alias: Magic cube - Knock - Go to bed
|
||||
alias: Magic cube · Knock · Go to bed
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: sensor.cube_multistate_input
|
||||
@@ -10,7 +10,7 @@ automation:
|
||||
entity_id: input_boolean.sleep_mode
|
||||
|
||||
- id: cube_shake
|
||||
alias: Magic cube - Shake - Wake up
|
||||
alias: Magic cube · Shake · Wake up
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: sensor.cube_multistate_input
|
||||
|
||||
@@ -4,7 +4,8 @@ input_boolean:
|
||||
icon: mdi:broom
|
||||
|
||||
automation:
|
||||
- alias: Domestina - Automate start
|
||||
- id: domestina_automate_start
|
||||
alias: Domestina · Automate start
|
||||
trigger:
|
||||
platform: time
|
||||
at: "08:30:00"
|
||||
@@ -15,7 +16,8 @@ automation:
|
||||
- service: input_boolean.turn_on
|
||||
entity_id: input_boolean.domestina
|
||||
|
||||
- alias: Domestina - Start
|
||||
- id: domestina_start
|
||||
alias: Domestina · Start
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: input_boolean.domestina
|
||||
@@ -29,7 +31,8 @@ automation:
|
||||
- automation.cube_knock
|
||||
- automation.cube_shake
|
||||
|
||||
- alias: Domestina - Automate end
|
||||
- id: domestina_automate_end
|
||||
alias: Domestina · Automate end
|
||||
trigger:
|
||||
platform: time
|
||||
at: "13:00:00"
|
||||
@@ -40,7 +43,8 @@ automation:
|
||||
- service: input_boolean.turn_off
|
||||
entity_id: input_boolean.domestina
|
||||
|
||||
- alias: Domestina - End
|
||||
- id: domestina_end
|
||||
alias: Domestina · End
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: input_boolean.domestina
|
||||
|
||||
@@ -6,7 +6,7 @@ input_boolean:
|
||||
|
||||
automation:
|
||||
- id: enable_guest_mode
|
||||
alias: Guest mode - Enable
|
||||
alias: Guest mode · Enable
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: input_boolean.guest_mode
|
||||
@@ -21,7 +21,7 @@ automation:
|
||||
entity_id: input_boolean.speech_notifications
|
||||
|
||||
- id: disable_guest_mode
|
||||
alias: Guest mode - Disable
|
||||
alias: Guest mode · Disable
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: input_boolean.guest_mode
|
||||
|
||||
@@ -6,7 +6,7 @@ input_boolean:
|
||||
|
||||
automation:
|
||||
- id: enable_sleep_mode
|
||||
alias: Sleep mode - Enable
|
||||
alias: Sleep mode · Enable
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: input_boolean.sleep_mode
|
||||
@@ -16,7 +16,7 @@ automation:
|
||||
- service: script.routine_bedtime
|
||||
|
||||
- id: disable_sleep_mode
|
||||
alias: Sleep mode - Disable
|
||||
alias: Sleep mode · Disable
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: input_boolean.sleep_mode
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
script:
|
||||
music_play:
|
||||
alias: "Music - Play"
|
||||
alias: "Music · Play"
|
||||
sequence:
|
||||
- service: media_player.volume_set
|
||||
entity_id: media_player.master_bedroom
|
||||
|
||||
@@ -55,7 +55,7 @@ binary_sensor:
|
||||
automation:
|
||||
# When my state changes to "home", wait for 15 minutes for the door to be opened, and then mark me as home
|
||||
- id: presence_arrival_detecion
|
||||
alias: Presence - Arrival detection
|
||||
alias: Presence · Arrival detection
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: person.georgi
|
||||
@@ -67,8 +67,8 @@ automation:
|
||||
action:
|
||||
- service: script.telegram_say
|
||||
data:
|
||||
title: "*Presence - Arrival detection*"
|
||||
message: "🏠 Device marked as home. Waiting for door to open!"
|
||||
title: "🏠 *Presence Module · Arrival detection*"
|
||||
message: "Device marked as home. Waiting for door to open!"
|
||||
- wait_template: "{{ is_state('binary_sensor.front_door_on_off', 'on') }}"
|
||||
continue_on_timeout: false
|
||||
timeout: 00:15:00
|
||||
@@ -76,11 +76,11 @@ automation:
|
||||
entity_id: input_boolean.georgi_home
|
||||
- service: script.telegram_say
|
||||
data:
|
||||
title: "*Presence - Arrival detection*"
|
||||
title: "🏠 *Presence Module · Arrival detection*"
|
||||
message: "✅ Hey, I've marked you as home now!"
|
||||
|
||||
- id: leaving_home
|
||||
alias: Presence - Leaving home
|
||||
alias: Presence · Leaving home
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: person.georgi
|
||||
@@ -89,7 +89,7 @@ automation:
|
||||
- service: script.routine_leaving_home
|
||||
|
||||
- id: coming_home
|
||||
alias: Presence - Coming home
|
||||
alias: Presence · Coming home
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: person.georgi
|
||||
|
||||
@@ -24,7 +24,7 @@ switch:
|
||||
|
||||
script:
|
||||
security_camera_on:
|
||||
alias: Security camera - Turn on
|
||||
alias: Security camera · Turn on
|
||||
sequence:
|
||||
- service: camera.turn_on
|
||||
entity_id: camera.amcrest_camera
|
||||
@@ -40,7 +40,7 @@ script:
|
||||
entity_id: camera.amcrest_camera
|
||||
|
||||
security_camera_off:
|
||||
alias: Security camera - Turn off
|
||||
alias: Security camera · Turn off
|
||||
sequence:
|
||||
- service: amcrest.goto_preset
|
||||
entity_id: camera.amcrest_camera
|
||||
@@ -84,7 +84,7 @@ script:
|
||||
# Hack - the switch.camera initial state is wrong (ON) when the server starts.
|
||||
automation:
|
||||
- id: camera_turn_off_on_startup
|
||||
alias: Camera - Startup
|
||||
alias: Camera · Startup
|
||||
trigger:
|
||||
- platform: homeassistant
|
||||
event: start
|
||||
|
||||
@@ -10,7 +10,7 @@ input_boolean:
|
||||
|
||||
script:
|
||||
say:
|
||||
alias: Speech - Say
|
||||
alias: Speech · Say
|
||||
sequence:
|
||||
# Don't talk while in sleep mode.
|
||||
- condition: state
|
||||
@@ -29,7 +29,7 @@ script:
|
||||
{%- endif -%}
|
||||
|
||||
say_discretely:
|
||||
alias: Speech - Say discretely
|
||||
alias: Speech · Say discretely
|
||||
sequence:
|
||||
# Figure out whether to talk or send a text.
|
||||
- service_template: >
|
||||
@@ -45,7 +45,7 @@ script:
|
||||
message: "{{ message }}"
|
||||
|
||||
telegram_say:
|
||||
alias: Speech - Telegram say
|
||||
alias: Speech · Telegram say
|
||||
sequence:
|
||||
- service: notify.telegram
|
||||
data_template:
|
||||
@@ -53,7 +53,7 @@ script:
|
||||
message: "{{ message }}"
|
||||
|
||||
sonos_blast:
|
||||
alias: Speech - Sonos blast
|
||||
alias: Speech · Sonos blast
|
||||
sequence:
|
||||
# Mark SARAH as talking.
|
||||
- service: input_boolean.turn_on
|
||||
@@ -81,7 +81,7 @@ script:
|
||||
entity_id: input_boolean.sarah_talking
|
||||
|
||||
sonos_say:
|
||||
alias: Speech - Sonos say
|
||||
alias: Speech · Sonos say
|
||||
sequence:
|
||||
- service: sonos.snapshot
|
||||
data_template:
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
script:
|
||||
sarah_restart:
|
||||
alias: System - Restart SARAH
|
||||
alias: System · Restart SARAH
|
||||
sequence:
|
||||
service: homeassistant.restart
|
||||
|
||||
automation:
|
||||
- id: system_announce_start
|
||||
alias: System - Announce start
|
||||
alias: System · Announce start
|
||||
trigger:
|
||||
platform: homeassistant
|
||||
event: start
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
script:
|
||||
routine_bedtime:
|
||||
alias: Routine - Bedtime
|
||||
alias: Routine · Bedtime
|
||||
sequence:
|
||||
- service: media_player.media_stop
|
||||
entity_id: media_player.master_bedroom
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
input_boolean:
|
||||
routine_welcome_home:
|
||||
name: Coming home - Say welcome
|
||||
name: Coming home · Say welcome
|
||||
initial: on
|
||||
icon: mdi:account-plus-outline
|
||||
|
||||
script:
|
||||
routine_coming_home:
|
||||
alias: Routine - Coming home
|
||||
alias: Routine · Coming home
|
||||
sequence:
|
||||
# Enter home mode.
|
||||
- service: script.security_camera_off
|
||||
@@ -23,7 +23,7 @@ script:
|
||||
- service: script.coming_home_welcome_home
|
||||
|
||||
coming_home_welcome_home:
|
||||
alias: Routine - Coming home - Welcome home
|
||||
alias: Routine · Coming home · Welcome home
|
||||
sequence:
|
||||
- service: script.say
|
||||
data_template:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
script:
|
||||
routine_leaving_home:
|
||||
alias: Routine - Leaving home
|
||||
alias: Routine · Leaving home
|
||||
sequence:
|
||||
- service: input_boolean.turn_off
|
||||
entity_id: input_boolean.georgi_home
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
script:
|
||||
routine_waking_up:
|
||||
alias: Routine - Waking up
|
||||
alias: Routine · Waking up
|
||||
sequence:
|
||||
- service: fan.turn_off
|
||||
entity_id: fan.philips_airpurifier
|
||||
@@ -18,7 +18,7 @@ script:
|
||||
- service: script.music_play
|
||||
|
||||
routine_morning_briefing:
|
||||
alias: Routine - Morning Briefing
|
||||
alias: Routine · Morning Briefing
|
||||
sequence:
|
||||
- service: script.say
|
||||
data_template:
|
||||
|
||||
Reference in New Issue
Block a user