Andre0512/hon

The sensors are not updating

vyagi opened this issue · 2 comments

Describe the bug
The sensors like: outside temperature, inside temperature and all the others were updating frequently, now updates are very rare (daily or so).

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
To bring back the previous behaviour

Screenshots
image

Environment (please complete the following information):

  • Home Assistant Version: 2024.5.2
  • hOn Integration Version v0.14.0-beta.7
  • pyhOn Version [e.g. 0.13.1, can be found in device log]

Additional context
Add any other context about the problem here.

Home Assistant Logs
On 5 of may I can see this in the HA logs:

Detected blocking call to import_module inside the event loop by custom integration 'hon' at custom_components/hon/init.py, line 34: hon = await Hon( (offender: /usr/local/lib/python3.12/site-packages/pyhon/appliance.py, line 52: self._extra: Optional[ApplianceBase] = importlib.import_module(), please create a bug report at https://github.com/Andre0512/hon/issues

Hi, I'm experiencing same issue for several weeks now. The issue makes this integration basically unusable. I could control A/C unit (switch it on, off etc) but didn't get any sensor updates until integration reload or HA restart. Only at this times the sensors are updated but only once.

Investigate please :-)

Environment:
Home Assistant Version: 2024.5.5
hOn Integration Version v0.14.0-beta.7
pyhOn Version [e.g. 0.13.1

Log message:
Detected blocking call to import_module inside the event loop by custom integration 'hon' at custom_components/hon/init.py, line 34: hon = await Hon( (offender: /usr/local/lib/python3.12/site-packages/pyhon/appliance.py, line 52: self._extra: Optional[ApplianceBase] = importlib.import_module(), please create a bug report at https://github.com/Andre0512/hon/issues

Hello, hello - is there anybody out there? Any hope to get this issue fixed? I had a lot of automations which used the temperature read from Hon sensors, now they all broke and waiting for the fix...