@Blacky
Thanks for this amazing blueprint, which works nicely! Even the costs, calculated by consumption (kWh) during the run multiplied by the price (currency/kWh) are correctly shown in the alert message on my mobile device.
Would you mind sharing a few thoughts about how I could present the costs per run on my dashboard? I am not sure how to place it there - marked by <???>:
Do I have to create another template variable for this, or can I put it (as a kind of a formula) directly into the YAML code shown above?
I understand that this is not really related to your great blueprint, but is rather a more general HA question about how to present a value from an entity that is actually a factor (A x B). Hopefully, you do not mind that I ask here.
From time to time, Home Assistant updates their YAML standards and coding practices. To align with their roadmap, we’ve updated the code accordingly. We will continue to apply these updates across all our blueprints as they are revised.
If you like this blueprint? Consider hitting the button in the top post
If you like my blueprints, and would like to show your support or just say thank you? Click Here
Great blueprint and I have this working fine for the dish washer and dryer. My washer is smart things based, which sends an energy usage as KWh but not an on demand wattage.
I could create a sensor which goes to 10 when the washers state changes to ON, and then 0 when the washers state changes to OFF, which could then be used as a dummy wattage sensor, but is there a better way, i.e. modified so that the washers state can be used in place of the wattage triggers?
First of all: Great work. I really love this blueprint.
I do have a question though: Is there an option to access the current “state” of the automation? E.g. I want to display on my dashbboard if the dryer is running or if the automation is in waiting state after the end threashhold has been detected.
Atm I’m helping myself by setting a helper entity with the start and end custom actions but I’d really love to use the other states this automation has …
If you are going to use the power tracking then that would be the best way. If your not going to use the power tracking then have a look at my State Notifications & Actions blueprint as it will track your state and send the notification. If you state is not in the selection for start and end then just type it in, make sure it exactly the same (lower case?).
The automation just runs so having a custom action is the way to go. @nicknol shared his method of how he does it and it may help you in your setup, click here to Nick post.
Maybe someone else may share how they monitor the status in a dashboard.
Meanwhile I use MeasureIt to track the duration of the runs of the appliances; it observes a template condition to start/stop the kind-of stop watch. in my case input_boolean.dryer_job_cycle or to be more precise input_boolean.dryer_finished since I simplified my scripts to use less helpers, which were left-overs of former approaches…