lkempf / casambi-bt-hass

35 stars 12 forks source link

Detected blocking call to... #86

Open tjorim opened 2 months ago

tjorim commented 2 months ago

Describe the bug

To Reproduce Steps to reproduce the behavior:

  1. Update HA core to version 2024.9.0b2
  2. Check the error logs

Expected behavior No warnings.

Screenshots If applicable, add screenshots to help explain your problem.

Versions

Logs Logger: homeassistant.util.loop Source: util/loop.py:136 First occurred: August 31, 2024 at 22:26:11 (12 occurrences) Last logged: August 31, 2024 at 22:27:26

VincentVrijburg commented 1 day ago

I have similar "detected blocking call" issues with my setup. It seems to limit the integration from adding the necessary entities to control my luminaires. The integration did add the network and the scenes I have in that network. This means I can control the scenes from HA, but not the luminaires individually yet.

I run HA version 2024.11.1 in a Docker container with latest integration version 0.1.3 My casambi network runs on the latest evolution firmware.

In addition, I get this line in the debug log: Version too new. Your network version is 11. Highest supported version is 10. Continue at your own risk.

@tjorim I'm curious, what is your firmware type and network version?

lkempf commented 1 day ago

@VincentVrijburg This issue is just about best practices for integration authors and does not effect functionality. I haven't heard of you particular issue before so please open a new one.

VincentVrijburg commented 1 day ago

I created #93 for the new issue I had.

@lkempf This issue can be closed then, no? Since the detected blocking call issue is just a warning that does not impact functionality.

tjorim commented 1 day ago

It's still a warning that should be fixed because of potential performance issues. Pretty sure they will get to it when they have time and feel like it.

lkempf commented 1 day ago

It's still a warning that should be fixed because of potential performance issues. Pretty sure they will get to it when they have time and feel like it.

It's already fixed in dev. I just haven't been able to get dev tested thoroughly.