Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The sensors are not updating #205

Open
vyagi opened this issue May 8, 2024 · 2 comments
Open

The sensors are not updating #205

vyagi opened this issue May 8, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@vyagi
Copy link

vyagi commented May 8, 2024

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

@vyagi vyagi added the bug Something isn't working label May 8, 2024
@attimcz
Copy link

attimcz commented May 30, 2024

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

@vyagi
Copy link
Author

vyagi commented Jun 6, 2024

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants