Closed reedy closed 7 months ago
I wasn't sure about trying to use next_joined_event_duration_in_minutes
, but it would seem "easier" if the event when fired included the duration (maybe?).
@reedy Thanks for the addition. The blueprint doesn't use the events so that it can recover if the registration API fails.
I think including the duration as part of the events would be better as it's unlikely that a session event would span multiple days. The docs would need to be updated as well.
This has been updated to include the duration in minutes, which is part of v10.3.0.
Fixes https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy/issues/786