mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
d60b56b37a
- Updated garage-card.yaml to use vertical-stack and advanced-camera-card structure. - Refactored indoor-camera-cycler.yaml to include multiple cameras in advanced-camera-card format. - Modified kitchen-card.yaml to align with new advanced-camera-card structure. - Consolidated master-bedroom-card.yaml to include both left and right cameras in a single advanced-camera-card. - Removed deprecated master-bedroom-left-card.yaml and master-bedroom-right-card.yaml files. - Updated nursery-card.yaml to follow the new advanced-camera-card format. - Refactored outdoor-camera-cycler.yaml to utilize advanced-camera-card for multiple outdoor cameras. - Cleaned up view-ha-floorplan.yaml by removing commented-out code. - Updated view-overview.yaml to remove unused plant entities. - Corrected media source paths in wake_up_the_master_bedroom.yaml and take_meds.yaml scripts. - Added new ESPHome configurations for bed presence sensors. - Updated full-sized floorplan SVG with new IDs for bed presence sensors.
58 lines
1.9 KiB
YAML
58 lines
1.9 KiB
YAML
alias: KCup Done Brewing
|
|
id: kcup_done_brewing
|
|
description: "Keurig just finished"
|
|
trigger:
|
|
- platform: state
|
|
entity_id: binary_sensor.keurig
|
|
from: "on"
|
|
to: "off"
|
|
|
|
condition:
|
|
- alias: "The carafe is off"
|
|
condition: state
|
|
entity_id: binary_sensor.keurig_carafe
|
|
state: "off"
|
|
- condition: state
|
|
entity_id: input_boolean.allow_announcements
|
|
state: "on"
|
|
|
|
action:
|
|
- choose:
|
|
- alias: "The home is occupied, there are no meetings, and the kids are not in bed"
|
|
conditions:
|
|
- alias: "The kitchen is not occupied"
|
|
condition: state
|
|
entity_id: binary_sensor.kitchen_occupied
|
|
state: "off"
|
|
|
|
- condition: or
|
|
conditions:
|
|
- condition: and
|
|
conditions:
|
|
- alias: "The home is occupied"
|
|
condition: state
|
|
entity_id: input_boolean.home_occupied
|
|
state: "on"
|
|
|
|
- alias: "Pixel 4 not in_communication and its not the kids bedtime"
|
|
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"
|
|
|
|
- condition: state
|
|
entity_id: media_player.ytube_music_player
|
|
state: "playing"
|
|
sequence:
|
|
- alias: "Announce that the coffee is ready"
|
|
service: script.make_clever_announcement
|
|
data:
|
|
media_content_id: media-source://media_source/tts/coffee_ready.mp3
|