I made an updated/more advanced version of this blueprint at advanced_appliance_power_monitor.yaml · GitHub
Improvements include:
- You can set a delay before triggering start, running, or stop events (e.g. the
forpart of a condition) - The
energy_entityis now optional - The
elapsed_time_energy_dataentity is no longer needed; the automation runs until the appliance stops. - The following new variables are available:
{{ elapsed_time_days }}{{ elapsed_time_hours }}{{ elapsed_time_minutes }}{{ elapsed_time_seconds }}-
{{ start_time }}(a unix timestamp)
If you’d like to pick it up as a revision to your blueprint, that would be great! If not, just let me know and I’ll post it as a separate one.