Hello,
In principle, everything works fine for me here. I always receive notifications about the start and end of the wash cycle on all desired channels.
But what has never worked: notifications about energy consumption and costs, even though I have activated them. The same applies to the washing time.
The settings are:
alias: Die Waschmaschine ist fertig - Blacks BP
description: ""
use_blueprint:
path: Blackshome/appliance-notifications.yaml
input:
power_sensor: sensor.waschmaschine_power
start_appliance_power: 2
start_time_delay: 0.25
end_appliance_power: 2
end_time_delay: 0.25
include_start_notify: enable_start_notify_options
include_custom_actions:
- enable_start_custom_actions
- enable_end_custom_actions
start_custom_actions:
- action: notify.knudtelegram
metadata: {}
data:
message: Waschmaschine läuft mal wieder!!!! :-)
- action: python_script.set_state
data:
entity_id: binary_sensor.waschmaschine
state: "on"
- action: notify.persistent_notification
metadata: {}
data:
message: Waschmaschine Gestartet
include_cycle_counter: enable_cycle_counter_and_notify
cycle_counter_helper: counter.waschmaschine_anzahl_waschen
runtime_tracking_helper: input_text.waschmaschine_waschdauer_total
include_duration_tracking: enable_duration_tracking
include_runtime_tracking: enable_runtime_tracking_and_notify
end_custom_actions:
- action: notify.knudtelegram
metadata: {}
data:
message: Waschmaschine scheint fertig zu sein!
- action: notify.send_message
metadata: {}
data:
message: Die Waschmaschine ist fertig.
target:
entity_id: notify.ls_gruppe_f_wama_durchsagen
- action: notify.persistent_notification
metadata: {}
data:
message: Waschmaschine Fertig
- data:
entity_id: binary_sensor.waschmaschine
state: "off"
action: python_script.set_state
start_notify_device:
- d0e0489f15a90d249a5c5cfa5cc8c049
start_title: Waschmaschine
start_message: Läuft schon wieder, sehr gut! :-)
start_notify_data:
- channel
- icon
start_notify_channel: Allgemein
include_end_notify: enable_end_notify_options
end_notify_device:
- d0e0489f15a90d249a5c5cfa5cc8c049
end_message_title: Waschmaschine
end_message: Die Waschmaschine ist wohl fertig, kannst sie ausräumen! :-)
end_notify_data:
- channel
- icon
- high_priority
- sticky
end_notify_channel: VibrationUndSound
include_power_tracking: enable_power_tracking_and_cost
power_consumption_sensor: sensor.waschmaschine_energy
end_message_kwh: Stromverbrauch Waschmaschine
end_message_cost: Kosten etwa âŹ
runtime_tracking_end_message: Waschdauer Total
end_message_duration_tracking: Dauer des Waschzyklus
cycle_counter_end_message: Totale Anzahl Wäschen
cost_per_kwh: input_number.strompreis_zahlenhelfer
start_power_consumption: input_number.wama_energy_tracking_start_number_helper
end_power_consumption: input_number.wama_energy_tracking_stop_number_helper
And here are the traces:
{
"trace": {
"last_step": "action/12/parallel/1/sequence/0/choose/0/sequence/2/choose/0/conditions/0",
"run_id": "a24d6c9e22d598a9bcaeeb9776656e52",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2025-11-15T19:40:47.296597+00:00",
"finish": "2025-11-15T19:54:03.262198+00:00"
},
"domain": "automation",
"item_id": "1760175767909",
"trigger": "numeric state of sensor.waschmaschine_power",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2025-11-15T19:40:47.299575+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.diw_waschmaschine_ist_fertig_blacks_bp",
"state": "on",
"attributes": {
"id": "1760175767909",
"last_triggered": "2025-11-15T12:10:13.995063+00:00",
"mode": "single",
"current": 0,
"friendly_name": "Die Waschmaschine ist fertig - Blacks BP"
},
"last_changed": "2025-11-15T08:20:19.881756+00:00",
"last_reported": "2025-11-15T14:55:52.225732+00:00",
"last_updated": "2025-11-15T14:55:52.225732+00:00",
"context": {
"id": "01KA407XD1KV415K5HPPJSD45P",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "t0",
"idx": "0",
"alias": null,
"platform": "numeric_state",
"entity_id": "sensor.waschmaschine_power",
"below": 24000,
"above": 2,
"from_state": {
"entity_id": "sensor.waschmaschine_power",
"state": "0",
"attributes": {
"state_class": "measurement",
"unit_of_measurement": "W",
"device_class": "power",
"friendly_name": "Waschmaschine Leistung"
},
"last_changed": "2025-11-15T14:55:36.857854+00:00",
"last_reported": "2025-11-15T14:55:36.857854+00:00",
"last_updated": "2025-11-15T14:55:36.857854+00:00",
"context": {
"id": "01KA407ECSNMFZTNMS303H8DA8",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "sensor.waschmaschine_power",
"state": "68",
"attributes": {
"state_class": "measurement",
"unit_of_measurement": "W",
"device_class": "power",
"friendly_name": "Waschmaschine Leistung"
},
"last_changed": "2025-11-15T19:40:32.294894+00:00",
"last_reported": "2025-11-15T19:40:32.294894+00:00",
"last_updated": "2025-11-15T19:40:32.294894+00:00",
"context": {
"id": "01KA4GH5560H2FC1M45QNVM9WY",
"parent_id": null,
"user_id": null
}
},
"for": {
"__type": "<class 'datetime.timedelta'>",
"total_seconds": 15
},
"description": "numeric state of sensor.waschmaschine_power"
},
"power_sensor": "sensor.waschmaschine_power",
"start_appliance_power": 2,
"start_time_delay": 0.25,
"end_appliance_power": 2,
"end_time_delay": 0.25,
"end_repeat_count": 1,
"include_start_notify": "enable_start_notify_options",
"start_notify_device": [
"d0e0489f15a90d249a5c5cfa5cc8c049"
],
"start_title": "Waschmaschine",
"start_message": "Läuft schon wieder, sehr gut! :-)",
"start_notify_tag": [],
"start_notify_interruption_level": "active",
"start_notify_sound": [],
"start_notify_data": [
"channel",
"icon"
],
"start_notify_channel": "Allgemein",
"start_notify_icon": "mdi:washing-machine",
"start_notify_icon_colour": [
41,
121,
255
],
"running_dead_zone": 0,
"include_end_notify": "enable_end_notify_options",
"end_notify_device": [
"d0e0489f15a90d249a5c5cfa5cc8c049"
],
"end_message_title": "Waschmaschine",
"end_message": "Die Waschmaschine ist wohl fertig, kannst sie ausräumen! :-)",
"end_notify_tag": [],
"end_notify_interruption_level": "active",
"end_notify_sound": [],
"end_notify_data": [
"channel",
"icon"
],
"end_notify_channel": "Allgemein",
"end_notify_icon": "mdi:washing-machine",
"end_notify_icon_colour": [
0,
200,
83
],
"end_reminder_notification": "disable_reminder_notification",
"end_reminder_notification_entity": [],
"end_reminder_notification_message": "Hey! Your fresh laundry is ready, don't leave it hanging!",
"end_reminder_notification_time_delay": 10,
"end_reminder_notification_max_count": 2,
"end_attended_notification_message": "YES! Fresh laundry on the move, let the drying begin!",
"include_run_status": "run_status_disabled",
"run_status_entity": [],
"run_status_start": [],
"run_status_watchdog": [],
"run_status_end": [],
"run_status_end_reminder": [],
"run_status_end_attended": [],
"include_time": "time_disabled",
"after_time": "00:00:00",
"before_time": "00:00:00",
"weekday_options": [
"mon",
"tue",
"wed",
"thu",
"fri",
"sat",
"sun"
],
"include_power_tracking": "enable_power_tracking_and_cost",
"power_consumption_sensor": "sensor.waschmaschine_energy",
"end_message_kwh": "Stromverbrauch Waschmaschine",
"end_message_cost": "Kosten etwa âŹ",
"cost_per_kwh": "input_number.strompreis_zahlenhelfer",
"start_power_consumption": "input_number.wama_energy_tracking_start_number_helper",
"end_power_consumption": "input_number.wama_energy_tracking_stop_number_helper",
"start_time": 1763235647.297101,
"include_runtime_tracking": "enable_runtime_tracking_and_notify",
"runtime_tracking_helper": "input_text.waschmaschine_waschdauer_total",
"runtime_tracking_end_message": "Waschdauer Total",
"include_duration_tracking": "enable_duration_tracking",
"end_message_duration_tracking": "Dauer des Waschzyklus",
"include_cycle_counter": "enable_cycle_counter_and_notify",
"cycle_counter_helper": "counter.waschmaschine_anzahl_waschen",
"cycle_counter_end_message": "Totale Anzahl Wäschen",
"include_service_reminder": "disable_service_reminder",
"service_reminder_counter_helper": [],
"service_reminder_cycles": 30,
"service_reminder_end_message": "â ď¸ It's time to clean the filter!",
"include_time_service_reminder": "disable_time_service_reminder",
"service_reminder_time_helper": [],
"service_reminder_time_threshold": {
"hours": 0,
"minutes": 0,
"seconds": 0
},
"service_reminder_time_end_message": "â ď¸ It's time to clean the filter!",
"include_watchdog": "disable_watchdog",
"watchdog_timeframe": "00:00:00",
"watchdog_notify_device": [],
"watchdog_title": "â ď¸ Appliance Watchdog",
"watchdog_message": "Uh-oh! Time to check the washing machine.",
"watchdog_notify_tag": [],
"watchdog_notify_interruption_level": "active",
"watchdog_notify_sound": [],
"watchdog_notify_data": [],
"watchdog_notify_channel": [],
"watchdog_notify_icon": "mdi:washing-machine-alert",
"watchdog_notify_icon_colour": [
244,
67,
54
],
"include_device_tracker": [],
"notify_zone": [],
"include_custom_actions": [
"enable_start_custom_actions",
"enable_end_custom_actions"
],
"start_custom_actions": [
{
"action": "notify.knudtelegram",
"metadata": {},
"data": {
"message": "Waschmaschine läuft mal wieder!!!! :-)"
}
},
{
"action": "python_script.set_state",
"data": {
"entity_id": "binary_sensor.waschmaschine",
"state": "on"
}
},
{
"action": "notify.persistent_notification",
"metadata": {},
"data": {
"message": "Waschmaschine Gestartet"
}
}
],
"watchdog_custom_actions": [],
"end_custom_actions": [
{
"action": "notify.knudtelegram",
"metadata": {},
"data": {
"message": "Waschmaschine scheint fertig zu sein!"
}
},
{
"action": "notify.send_message",
"metadata": {},
"data": {
"message": "Die Waschmaschine ist fertig."
},
"target": {
"entity_id": "notify.ls_gruppe_f_wama_durchsagen"
}
},
{
"action": "notify.persistent_notification",
"metadata": {},
"data": {
"message": "Waschmaschine Fertig"
}
},
{
"data": {
"entity_id": "binary_sensor.waschmaschine",
"state": "off"
},
"action": "python_script.set_state"
}
],
"global_conditions": [],
"start_message_data": {
"push": {
"interruption-level": "active"
},
"channel": "Allgemein",
"notification_icon": "mdi:washing-machine",
"color": "
I tried to read that, but I donât understand it and canât find my mistake. Blacky, I need your help⌠