wernerhp / ha.integration.load_shedding

A Home Assistant integration to track your load schedding schedule.
MIT License
113 stars 21 forks source link

Blueprints #14

Open ChristoffBo opened 2 years ago

ChristoffBo commented 2 years ago

Awesome integration you are the MAN!

Would it be possible to add your automations as blueprints?

Again thank you for this

wernerhp commented 2 years ago

The automations in the readme are both simple and complex in that they do a simple thing, but multiple simple things in one automation. This complicates a blueprint (which, TBH, I have never created before, so have to figure this out first. I'm pretty sure it can be done. I tried doing one, but it's a bit of a mish and I'm not sure that the effort is worth it.

What I can suggest is that you

  1. Create a new empty automation
  2. Switch to Edit in YAML
  3. Copy and paste an example from the Automation Code sections in the README
  4. Switch back to Edit in visual editor.
  5. Rename sensors where relevant
  6. Delete what you don't need
image image

If anyone knows how to create Blueprints or wants to figure it out and contribute them, that would be wonderful.