InventoCasa / ha-advanced-blueprints

Advanced Blueprints combined with pyscript for extra useful automations
139 stars 33 forks source link

fix: validate fetched status #70

Closed carlossg closed 3 weeks ago

carlossg commented 1 month ago

do not attempt to operate on None values

causing Could not update Export/PV history!: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'

InventoCasa commented 3 weeks ago

@carlossg Thanks for implementing the fix!