Both the breaker and the residence objects have some energy metrics now too:
energyConsumptionForDay
energyConsumptionForWeek
energyConsumptionForMonth
energyConsumptionForYear
My hope is to be able to add support for Leviton smart breaker panels (including energy metrics) to Home Assistant so I can use them with the new energy feature as well as generally be able to view/control them.
Here's some example output from my panel/breaker using the current get_residential_breaker_panels and get_residential_breakers calls:
Looks like the current API models included do support some breaker panel functionality already.
Eg, if I do something like this:
I can successfully read live energy stats from my breakers, toggle the LEDs, and remotely trip them.
There do appear to be many more energy API endpoints that are not currently in the model however, for example:
residentialBreakerEnergy findByIdResidentialBreakerEnergy destroyByIdResidentialBreakerEnergy updateByIdResidentialBreakerEnergy getResidentialBreakerEnergy createResidentialBreakerEnergy deleteResidentialBreakerEnergy countResidentialBreakerEnergy createManyResidentialBreakerEnergy
Both the breaker and the residence objects have some energy metrics now too: energyConsumptionForDay energyConsumptionForWeek energyConsumptionForMonth energyConsumptionForYear
My hope is to be able to add support for Leviton smart breaker panels (including energy metrics) to Home Assistant so I can use them with the new energy feature as well as generally be able to view/control them.
Here's some example output from my panel/breaker using the current
get_residential_breaker_panels
andget_residential_breakers
calls: