Appliance Power Monitor Blueprint With Elapsed Time and Energy Used Variables

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 for part of a condition)
  • The energy_entity is now optional
  • The elapsed_time_energy_data entity 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.

3 Likes