initial push

This commit is contained in:
CeeWeasel
2024-04-14 14:08:56 -04:00
commit 53bf393d14
1111 changed files with 71730 additions and 0 deletions
@@ -0,0 +1,63 @@
alias: Close Kitchen Fridge Door
id: close_kitchen_fridge_door
description: "Alert to close the kitchen fridge door"
trigger:
- platform: state
entity_id: binary_sensor.close_kitchen_fridge
from: "off"
to: "on"
- platform: homeassistant
event: start
condition:
- alias: "The home is occupied"
condition: state
entity_id: input_boolean.home_occupied
state: "on"
- alias: "Its not bedtime"
condition: state
entity_id: input_boolean.bedtime
state: "off"
action:
- repeat:
while: "{{ is_state('binary_sensor.close_kitchen_fridge','on') }}"
sequence:
- choose:
- conditions:
- condition: state
entity_id: input_boolean.allow_announcements
state: "on"
- condition: not
conditions:
- condition: state
entity_id: sensor.pixel_7_audio_mode
state: in_communication
- condition: state
entity_id: sensor.pixel_7_audio_mode
state: in_call
- condition: state
entity_id: input_boolean.kids_bedtime
state: "on"
sequence:
- service: script.make_clever_announcement
data:
media_content_id: media-source://media_source/local/Sounds/tts/kitchen_fridge_open_too_long.mp3
- choose:
- conditions:
- condition: state
entity_id: input_boolean.clint_home
state: "off"
sequence:
- service: notify.mobile_app_pixel_7
data:
message: The kitchen fridge has been open for too long!
- delay:
minutes: 5