Also wondering, how would you recommend handling dynamic time of use pricing for power where an application was running while the cost changed?
ie it started running in Off Peak and finished in Peak, which have different rates?
Also wondering, how would you recommend handling dynamic time of use pricing for power where an application was running while the cost changed?
ie it started running in Off Peak and finished in Peak, which have different rates?
Hi Everybody,
whats wron in this Code - the BP send no message by starting the action manually ?
alias: Waschmaschine fertig
description: ""
use_blueprint:
path: >-
sbyx/notify-or-do-something-when-an-appliance-like-a-dishwasher-or-washing-machine-finishes.yaml
input:
power_sensor: sensor.fritz_dect_200_43_leistung
starting_threshold: 200
actions:
- action: notify.mobile_app_andys_ipad_mini_6
metadata: {}
data:
message: Waschmaschine fertig Message
title: Waschmaschine fertig Title
- action: notify.mobile_app_iphone_andy2025
metadata: {}
data:
message: Spülmaschiene fertig
title: Waschmaschine fertig für iPhone 15
- action: notify.mobile_app_ipad_air_11_new
metadata: {}
data:
message: Waschmaschine fertig Message
title: Waschmaschine fertig Title
pre_actions:
- repeat:
count: 3
sequence: []
starting_hysteresis: 2
finishing_hysteresis: 3
finishing_threshold: 100
The notify.mobile_app for himself works perfect.
Thanks a lot.
Hello,
I have a Problem getting a push Notification for end notify.
I get a Notification for the start of my dryer. The test works.
But when i enable the end notify tab, i donāt get a Notification Event via a push notification.
Did i make a mistake in my config?
The automations.yaml entry is very short:
- id: '1762271639473'
alias: WM
description: ''
use_blueprint:
path: Blackshome/appliance-notifications.yaml
input:
power_sensor: sensor.trockner_leistung
end_time_delay: 1
end_repeat_count: 2
include_start_notify: enable_start_notify_options
start_notify_device:
- cccea1d3fc5c7b4f20f3b17c423ba078
include_end_notify: enable_end_notify_options
end_notify_device:
- cccea1d3fc5c7b4f20f3b17c423ba078
Thank you for your help
Same here, I added a custom action to send telegram messages on start and end, so on start I get android and telegram notification but on end I get only telegram notification, the android one doesnāt show.
The yaml :
alias: Lessive
description: ""
use_blueprint:
path: Blackshome/appliance-notifications.yaml
input:
power_sensor: sensor.prise_buanderie_power
running_dead_zone: 0
end_appliance_power: 10
end_time_delay: 1
include_start_notify: enable_start_notify_options
start_notify_device:
- 825bb3f305e57f7c7a04e60b71d97768
start_title: Lavage
start_notify_data:
- channel
start_notify_channel: HA
include_end_notify: enable_end_notify_options
end_notify_device:
- 825bb3f305e57f7c7a04e60b71d97768
end_message_title: Lavage
end_notify_data:
- channel
end_notify_channel: HA
end_reminder_notification: disable_reminder_notification
end_reminder_notification_time_delay: 1
end_reminder_notification_max_count: 5
power_consumption_sensor: sensor.prise_buanderie_energy
include_power_tracking: enable_power_tracking
end_notify_tag: lavage
start_notify_tag: lavage
start_custom_actions:
- action: telegram_bot.send_message
data:
config_entry_id: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
message: Lessive dƩmarrƩe
include_custom_actions:
- enable_end_custom_actions
- enable_start_custom_actions
end_custom_actions:
- action: telegram_bot.send_message
data:
config_entry_id: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
message: Lessive TerminƩe
They are being stored to helpers. This is how you can set them and use it in a custom end action if you would like them to store the result in a helper.
{% set kwh = (states(end_power_consumption) | float - states(start_power_consumption) | float) %}
{% set cost = kwh * (states(cost_per_kwh) | float) %}
I havenāt tested it but something like this in your custom end action.
end_custom_actions:
- variables:
kwh: >
{{ (states(end_power_consumption) | float -
states(start_power_consumption) | float) }}
cost: |
{{ kwh * (states(cost_per_kwh) | float) }}
- action: input_number.set_value
metadata: {}
data:
value: "{{ kwh }}"
target:
entity_id: input_number.your_kwh_number_helper_here
- action: input_number.set_value
metadata: {}
data:
value: "{{ cost }}"
target:
entity_id: input_number.your_cost_number_helper_here
You canāt, it only records it at the start and end. See points 4 & 5 of the FAQ click here. If you would like to do this you may be able to run a script from the start.
Also note HA can track your energy usage of your sensor if you like. Go to Energy > 3 dots top right and select energy configuration > add your sensor under individual devices
Blacky ![]()
I have no idea how you got all those settings. Try an recreate the automation again from new.
Blacky ![]()
Welcome to the community.
All looks good but you have a End - Repeat Count of 2 in your Power Settings. This means as per your settings it must go from above 5 watts to below 5 watts for at least 1 min twice before you will receive your end notification.
Try setting your End - Repeat Count to 1.
Blacky ![]()
In Energy Tracking you missing your number helpers.
Once you add them in it will work. See the more information link.
Blacky ![]()
Oh thanks, I will add this, but my issue is just the end message that doesnāt show, it is based on the power entity only, apparently no link with the energy entities, are you sure there is a link ?
In the image I provided above the arrow shows you the link that will take you to the FAQ. Here it is for you click here.
You need to add the number helpers into the inputs shown in the image above that has the red box around it. They are
Blacky ![]()
What a great blueprint! Thank you so much.
I have a question:
is it possible to start a timer when the washing machine begins its cycle, showing the remaining time until it finishes?ā
Ok i did it and it works now ! Excellent.
But, the need of these 3 number helpers was there because i checked the energy tracking option i guess ?
If i hadnāt checked this option, then the end message should have shown i think.
But anyway it works fine !
Yes you would do that in the Custom Actions - Start. You then just add the action to start your timer but you will need to set the time as the blueprint has no idea on how long it will take.
Blacky ![]()
Yes.
Thatās correct but I thought you wanted it because you enabled it. You can disable it and remove / delete the helpers if you like and it will work.
Blacky ![]()
Ok, ok, my question was just to understand fully, energy info is nice too, thanks a lot !
Thanks, Iāll take a look at this all and see where I land! This is great.
Hi, @blacky great automation. Iāve been getting an error since running it for the first time. Stopped because only a single execution is allowed at November 11, 2025 at 8:14:22 AM (runtime: 0.01 seconds)
alias: Washing Machine Notifications & Actions
description: āā
use_blueprint:
path: Blackshome/appliance-notifications.yaml
input:
power_sensor: sensor.washing_machine_plug_current_consumption
include_end_notify: enable_end_notify_options
end_notify_device:
- ec4eade4f5f3bb30fbf8e63b29cf424d
- 688609d0c9706ebd7e298a388b5a6671
end_notify_tag: washing-clothes
end_notify_interruption_level: critical
end_time_delay: 2
power_consumption_sensor: sensor.washing_machine_plug_current
include_power_tracking: disable_power_tracking
start_appliance_power: 10
end_appliance_power: 2
Hi @Blacky,
Firts of all I want to thank you for this great automation.
But I have an idea for an improvement: Could it be possible to have custom actions for End Remainders?
I would like to announce using my Echo devices that the clothes are still inside the washing machine ![]()
Thatās perfectly normal. Once an automation starts, it runs all the way to the end before it can start again. This is why youāre seeing in the trace but itās not an error. You can use the arrows to view the live running trace, but note that Home Assistant only stores the last four traces by default. You can increase this limit, but itās usually not necessary. See below.
For testing or setting up for the first time you could use the Start Notify so you know it is running and then once you happy you can disable this option if you donāt want to use it.
Blacky ![]()