From 9b6eaa084a681044de56ec80cb15e0ad3607936d Mon Sep 17 00:00:00 2001 From: Franco Pellicciotti Date: Sun, 14 Jun 2026 10:26:35 -0400 Subject: [PATCH] Added New Coffee maker detection logic --- automations.yaml | 51 ++++++++++++++++++++++++++++++++++++++++++++++++ scripts.yaml | 17 ++++++++-------- 2 files changed, 60 insertions(+), 8 deletions(-) diff --git a/automations.yaml b/automations.yaml index 585cd65..a0e56bf 100644 --- a/automations.yaml +++ b/automations.yaml @@ -697,3 +697,54 @@ data: title: Ninja Oven Finished message: The Ninja toaster oven has finished cooking! +- id: '1781445544080' + alias: 'Kitchen: Coffee Maker Cycle Status' + description: 'Triggers on the high-wattage grinder spike. Dynamically waits for + the cycle to finish: it requires a minimum of 4 minutes to pass AND the power + to drop back to the TV baseline.' + triggers: + - trigger: numeric_state + entity_id: sensor.coffee_maker_power + above: 1000 + id: coffee_started + conditions: [] + actions: + - choose: + - conditions: + - condition: trigger + id: coffee_started + - condition: state + entity_id: input_boolean.coffee_maker_running + state: 'off' + sequence: + - action: input_boolean.turn_on + target: + entity_id: input_boolean.coffee_maker_running + - action: notify.notify + data: + title: ☕ Coffee Time + message: Someone is making coffee. + - action: notify.persistent_notification + data: + title: ☕ Coffee Time + message: Someone is making coffee. + - delay: + hours: 0 + minutes: 4 + seconds: 0 + - wait_for_trigger: + - trigger: numeric_state + entity_id: sensor.coffee_maker_power + below: 350 + timeout: + hours: 0 + minutes: 3 + seconds: 0 + - action: input_boolean.turn_off + target: + entity_id: input_boolean.coffee_maker_running + - action: notify.notify + data: + title: ☕ Coffee Ready + message: Your coffee is ready to enjoy! + mode: single diff --git a/scripts.yaml b/scripts.yaml index 9e5822b..8e8ceee 100644 --- a/scripts.yaml +++ b/scripts.yaml @@ -127,7 +127,7 @@ weather_and_comfort_report: - Weather condition: {{ states(''weather.forecast_home'') }} - Living Room: {{ states(''sensor.living_room_living_room_temperature'') }}°C - (Humidity: {{ states(''sensor.living_room_living_room_humidity'') }}%) + and Humidity: {{ states(''sensor.living_room_living_room_humidity'') }}% - Bedroom: {{ states(''sensor.bedroom_nest_temperature_sensor_bedroom_temperature'') }}°C @@ -142,8 +142,9 @@ weather_and_comfort_report: }}°C - Generate a funny weather description and assess indoor comfort level across - the different zones of the house. Both should be funny. + Generate a funny weather description and provide a funny assessment of the indoor + comfort level across the different zones of the house. Make sure it is funny. + Also, Seraphine is my daughter and Leo is my son. The Basement is my office. ' structure: @@ -159,8 +160,8 @@ weather_and_comfort_report: selector: text: {} zone_breakdown: - description: A quick summary detailing if any specific rooms (like the bedroom - or basement) are too hot, cold, or perfect + description: A detailed summary detailing if any specific rooms (like the + bedroom or basement) are too hot, cold, or perfect required: true selector: text: {} @@ -175,7 +176,7 @@ weather_and_comfort_report: - action: notify.notify data: title: "\U0001F3E0 Home climate report" - message: "\U0001F324️ **Weather outside:** {{ comfort_report.data.weather_description - }} \U0001F6CB️ **Indoor comfort:** {{ comfort_report.data.indoor_comfort - }} \U0001F4CA **Zone Breakdown:** {{ comfort_report.data.zone_breakdown + message: "\U0001F324️ **Weather outside:**\n{{ comfort_report.data.weather_description + }}\n\n\U0001F6CB️ **Indoor comfort:**\n{{ comfort_report.data.indoor_comfort + }}\n\n\U0001F4CA **Zone Breakdown:**\n{{ comfort_report.data.zone_breakdown }}"