slydiman / ha_custom_onvif

11 stars 2 forks source link

The component no longer loads #8

Open new-kirte opened 1 year ago

new-kirte commented 1 year ago

With HA2022.11.1 the component no longer loads. The error is as follows: Setup failed for custom integration onvif: Unable to import component: No module named 'cached_property'

slydiman commented 1 year ago

cached_property is imported from functools in the lib zeep. This lib is used with standard onvif integration and must work. functools.cached_property is present in python 3.8+. This component still works with HA2022.11.1 (supervised) for me. No idea how to debug/fix it. Hope it will be fixed in HA core soon.