danielperna84 / hahomematic

Python 3 Interface for Home Assistant to interact with HomeMatic devices
MIT License
131 stars 21 forks source link

HmIPW-DRBL4 - AttributeError: 'CeIpBlind' object has no attribute 'operation_mode' #1792

Closed fl0x53 closed 2 hours ago

fl0x53 commented 3 hours ago

I agree to the following

The problem

After Updating Homematic(IP) Local to v1.68.0 Home Assistant can't create cover entites due to "AttributeError: 'CeIpBlind' object has no attribute 'operation_mode'" in cover.py (see log)

What version of HomematicIP (local) has the issue?

1.68.0

What was the last working version of HomematicIP (local)?

1.67.0

What type of installation are you running?

Home Assistant Container

What type of installation are you running for your homematic backend?

RaspberryMatic Standalone

Which version of your homematic backend are you running?

3.77.7.20240826

What hardware are you running for your system?

Pi4

Which config details do you use

Which interfaces do you use?

Diagnostics information (no logs here)

home-assistant_homematicip_local_2024-10-25T16-00-51.000Z.log

Log file extract. Anything in the logs that might be useful for us? The log (Setting/System/Logs -> load full log) is the best source to support trouble shooting!

Logger: homeassistant.helpers.dispatcher
Quelle: util/logging.py:95
Erstmals aufgetreten: 17:44:57 (1 Vorkommnisse)
Zuletzt protokolliert: 17:44:57

Exception in async_add_cover when dispatching 'homematicip_local-new-entity-906cada5b823c1c437ae83639ed88f91-cover': ({<hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff64139820>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff63ccd820>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff634b9040>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff6340e870>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff634b90d0>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff641398e0>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff6340e930>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff63ccd940>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff64139970>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff6340e9c0>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff64139a00>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff63ccda00>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff64a99a00>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff634b9220>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff6340ea80>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff64139a90>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff63ccda90>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff634b92b0>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff64139b20>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff63ccdb20>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff6d88ab40>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff6340eb40>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff634b9340>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff64139bb0>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff63ccdbb0>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff6340ebd0>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff634b93d0>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff63ccdc40>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff70b96450>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff6340ec60>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff634b9460>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff63ccdcd0>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff6d9dbce0>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff6340ecf0>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff634b94f0>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff63ccd550>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff64139580>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff6340ed80>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff64139610>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff6340ee10>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff634b8e90>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff641396d0>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff64a98f20>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff6340e750>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff64139760>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff63ccd760>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff634b8f80>, <hahomematic.platforms.custom.cover.CeIpBlind object at 0xffff6340e7b0>},) Traceback (most recent call last): File "/config/custom_components/homematicip_local/cover.py", line 54, in async_add_cover if hm_entity.operation_mode and hm_entity.operation_mode == "SHUTTER": ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'CeIpBlind' object has no attribute 'operation_mode'

Additional information

No response

fl0x53 commented 2 hours ago

Solved it 🤦 The root cause is that HACS messed up python dependencies once again. It was still using hahomematic-2024.10.8 and not 2024.10.13.