wernerhp / ha.integration.load_shedding

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

Clean up 30 minute loadshedding periods #59

Closed ZAAJR closed 1 year ago

ZAAJR commented 1 year ago

If loadshedding changes stage there can be a 30 minute loadshedding state shown in the forecast attribute. It would be great if these could be removed. image.

Also as a result of the change of stage, there can be a loadshedding period which is exactly 2 (or 4) hours long, not giving the 30 minutes after the top of the hour for power to be restored. It would be fantastic if these could be turned in 2.5 or 4.5 hour stages.

ZAAJR commented 1 year ago

Sorry, I have seen now that there is a min event duration which I had not seen before. That clears up the 30 minute stages, but it would still be nice if a slot which is now exactly 2 hours long (as a result of cleaning the 30 minute change of stage slot) could be made to be 2.5 (or 4.5) hours long.