elad-bar / ha-blueiris

Integration with Blue Iris Video Security Software
184 stars 43 forks source link

failed to update binary sensor #124

Closed BigRed8150 closed 2 years ago

BigRed8150 commented 3 years ago

I got this when i updated to 1.0.6

This error originated from a custom integration.

Logger: custom_components.blueiris.managers.entity_manager Source: custom_components/blueiris/managers/entity_manager.py:577 Integration: Blue Iris NVR (documentation) First occurred: 8:45:34 PM (7 occurrences) Last logged: 8:48:32 PM

Failed to update, step: Start updating domain binary_sensor, Error: 'binary_sensor', Line: 197

rwperkinsjr commented 3 years ago

I get the same error and had to revert to 1.0.5 to get it to work.

JOHLC commented 3 years ago

Are you on Home Assistant version 2021.8.0? If not, that may be why it broke for you considering the title of this latest BI component release is: "Support MQTT for 2021.8.0 and above"

rwperkinsjr commented 3 years ago

Are you on Home Assistant version 2021.8.0? If not, that may be why it broke for you considering the title of this latest BI component release is: "Support MQTT for 2021.8.0 and above"

Yep, that was my issue. I thought I had updated to 2021.8.0 but I didn't realize the update failed. Once I got the update for HA in 1.0.6 went right in with zero issues.

Thank you for reminding me to check myself.

tmoran3020 commented 3 years ago

I updated main HA this morning, got the breaking change - same error as above, upgraded the blueiris plugin, works great.

@BigRed8150 go into HACS (if that's how you installed it), it will tell you that blueiris needs to be upgraded. Click the button, restart HA, all is well. If you did straight custom_component, I think you just download the newest release and put it on your system to address the issue.