all kinds of fun

This commit is contained in:
CeeWeasel
2026-05-04 21:01:23 -04:00
parent 149fac6ec0
commit 6f4259d767
62 changed files with 283 additions and 325 deletions
@@ -8,7 +8,7 @@ triggers:
to: "on"
action:
- action: notify.mobile_app_pixel_7
- action: notify.mobile_app_pixel_10_pro
data:
message: >-
The following are open: "{{ dict((states|selectattr('entity_id', 'in', state_attr('group.my_hvac_affecting_openings', 'entity_id'))|list)|groupby('state'))['on']|map(attribute='name')|list|join(', ') }}"
@@ -39,7 +39,7 @@ action:
- choose:
- conditions: "{{ not group_target }}"
sequence:
- device_id: 70c62eb366d6ed914b0ccc6bf41c32fd
- device_id: 99193a9cdfd7a8cb893c54665d710e7d
domain: mobile_app
type: notify
message: A {{ label }} was detected on the {{ camera_name }} camera.
@@ -80,7 +80,7 @@ action:
- choose:
- conditions: "{{ not group_target }}"
sequence:
- device_id: 70c62eb366d6ed914b0ccc6bf41c32fd
- device_id: 99193a9cdfd7a8cb893c54665d710e7d
domain: mobile_app
type: notify
message: A {{ label }} was detected on the {{ camera_name }} camera.
@@ -48,7 +48,7 @@ action:
- choose:
- conditions: "{{ not group_target }}"
sequence:
- device_id: 70c62eb366d6ed914b0ccc6bf41c32fd
- device_id: 99193a9cdfd7a8cb893c54665d710e7d
domain: mobile_app
type: notify
message: A {{ label }} was detected on the {{ camera_name }} camera.
@@ -89,7 +89,7 @@ action:
- choose:
- conditions: "{{ not group_target }}"
sequence:
- device_id: 70c62eb366d6ed914b0ccc6bf41c32fd
- device_id: 99193a9cdfd7a8cb893c54665d710e7d
domain: mobile_app
type: notify
message: A {{ label }} was detected on the {{ camera_name }} camera.
@@ -45,7 +45,7 @@ action:
- choose:
- conditions: "{{ not group_target }}"
sequence:
- device_id: 70c62eb366d6ed914b0ccc6bf41c32fd
- device_id: 99193a9cdfd7a8cb893c54665d710e7d
domain: mobile_app
type: notify
message: A {{ label }} was detected on the {{ camera_name }} camera.
@@ -86,7 +86,7 @@ action:
- choose:
- conditions: "{{ not group_target }}"
sequence:
- device_id: 70c62eb366d6ed914b0ccc6bf41c32fd
- device_id: 99193a9cdfd7a8cb893c54665d710e7d
domain: mobile_app
type: notify
message: A {{ label }} was detected on the {{ camera_name }} camera.
@@ -52,7 +52,7 @@ action:
- choose:
- conditions: "{{ not group_target }}"
sequence:
- device_id: 70c62eb366d6ed914b0ccc6bf41c32fd
- device_id: 99193a9cdfd7a8cb893c54665d710e7d
domain: mobile_app
type: notify
message: A {{ label }} was detected on the {{ camera_name }} camera.
@@ -93,7 +93,7 @@ action:
- choose:
- conditions: "{{ not group_target }}"
sequence:
- device_id: 70c62eb366d6ed914b0ccc6bf41c32fd
- device_id: 99193a9cdfd7a8cb893c54665d710e7d
domain: mobile_app
type: notify
message: A {{ label }} was detected on the {{ camera_name }} camera.
@@ -10,3 +10,9 @@ action:
data:
entity_id: input_text.person_clint
value: at work
# - action: notify.mobile_app_pixel_10_pro
# data:
# message: command_volume_level
# data:
# media_stream: notification_stream
# command: 1
+9
View File
@@ -52,5 +52,14 @@ action:
entity_id: input_boolean.clint_home
- action: automation.turn_on
entity_id: automation.clint_at_work
- action: script.pixel_10_to_normal_mode
data: {}
- action: notify.mobile_app_pixel_10_pro
data:
message: command_volume_level
data:
media_stream: notification_stream
command: 4
- delay: "00:00:30"
+2 -2
View File
@@ -49,10 +49,10 @@ action:
entity_id: media_player.ma_bedroom_hub
data:
media_type: playlist
media_id: library://playlist/7
media_id: library://playlist/32
#media_id: >
# {% set playlists = ['library://playlist/32','library://playlist/9'] %}
# {{ playlists|random }}
enqueue: replace
- action: script.wake_the_bedroom
#- action: script.wake_the_bedroom
@@ -1,45 +0,0 @@
alias: Continue Girls Room Noise
id: automation_continue_girls_room_noise
trigger:
- platform: state
entity_id: media_player.girls_room_clock
from: "playing"
condition:
- condition: state
entity_id: input_boolean.girls_room_asleep
state: "on"
- condition: or
conditions:
- condition: and
conditions:
- condition: state
entity_id: input_boolean.bridget_in_bed
state: "on"
- condition: state
entity_id: input_boolean.bridget_home
state: "on"
- condition: and
conditions:
- condition: state
entity_id: input_boolean.ebin_in_bed
state: "on"
- condition: state
entity_id: input_boolean.ebin_home
state: "on"
- condition: state
entity_id: input_select.girls_room_mode
state: "Night on"
action:
- action: input_select.select_option
data:
entity_id: input_select.google_home
option: "Girls Room"
- action: input_select.select_option
data:
entity_id: input_select.ambient_sound
option: "Random White Noise"
- action: input_number.set_value
data:
entity_id: input_number.volume_ambientsounds
value: "0.35"
- action: script.ambientsounds
@@ -17,7 +17,7 @@ condition:
state: "on"
action:
- action: notify.mobile_app_pixel_7
- action: notify.mobile_app_pixel_10_pro
data:
title: Update Available
message: A Home Assistant update is available
@@ -15,6 +15,6 @@ action:
media_player_entity_id: media_player.front_room_hub, media_player.bathroom_mini, media_player.kitchen, media_player.bedroom_hub
message: Attention! A water leak has been detected on the furnace room floor!
- action: notify.mobile_app_pixel_7
- action: notify.mobile_app_pixel_10_pro
data:
message: Attention! A water leak has been detected on the furnace room floor!
@@ -17,6 +17,6 @@ condition:
state: "on"
action:
- action: notify.mobile_app_pixel_7
- action: notify.mobile_app_pixel_10_pro
data:
message: The garage is open, but nobody is home
@@ -36,7 +36,7 @@ action:
- action: media_player.volume_set
data:
volume_level: 0.4
volume_level: 0.25
target:
entity_id: media_player.ma_girls_room_clock
@@ -55,7 +55,7 @@ action:
- action: music_assistant.play_media
data:
media_id: library://playlist/5
media_id: library://playlist/10
media_type: playlist
enqueue: replace
target:
@@ -29,10 +29,10 @@ action:
target:
entity_id: media_player.ma_girls_room_clock
- action: script.search_and_play_playlist
- action: music_assistant.play_media
target:
entity_id: media_player.ma_girls_room_clock
data:
speaker: media_player.ma_girls_room_clock
search_term: Clever Kids Goodnight Songs
volume: 0.25
repeat: all
shuffle: false
media_type: playlist
media_id: library://playlist/10
enqueue: replace
@@ -1,35 +0,0 @@
alias: Continue White Noise
id: automation_continue_white_noise
initial_state: "on"
trigger:
- platform: state
entity_id: media_player.ma_home_assistant_voice_097b44_media_player
to: "off"
for: "00:00:02"
- platform: state
entity_id: media_player.ma_home_assistant_voice_097b44_media_player
to: "idle"
for: "00:00:02"
condition:
- condition: state
entity_id: input_boolean.master_bedroom_asleep
state: "on"
action:
#- action: input_select.select_option
# data:
# entity_id: input_select.master_bedroom_mode
# option: 'Off'
- action: input_select.select_option
data:
entity_id: input_select.google_home
option: "Master Bedroom"
- action: input_select.select_option
data:
entity_id: input_select.ambient_sound
option: "Thunderstorm"
- action: input_number.set_value
data:
entity_id: input_number.volume_ambientsounds
value: "0.3"
- action: script.ambientsounds
@@ -4,7 +4,7 @@ initial_state: "off"
trigger:
- platform: state
entity_id: sensor.pixel_7_charger_type
entity_id: sensor.pixel_10_pro_charger_type
to: "wireless"
- platform: state
@@ -37,7 +37,7 @@ condition:
condition: or
conditions:
- condition: state
entity_id: sensor.pixel_7_charger_type
entity_id: sensor.pixel_10_pro_charger_type
state: "wireless"
- condition: state
entity_id: binary_sensor.bed_presence_c175a4_bed_occupied_either
+1 -1
View File
@@ -84,7 +84,7 @@
# state: "off"
# sequence:
# - action: notify.mobile_app_pixel_7
# - action: notify.mobile_app_pixel_10_pro
# data:
# message: The dishwasher is done
# data:
+1 -1
View File
@@ -55,7 +55,7 @@ action:
state: "off"
sequence:
- action: notify.mobile_app_pixel_7
- action: notify.mobile_app_pixel_10_pro
data:
message: The kitchen fridge has been open for too long!