core: LaCrosse View is not updating entities

The problem

Since switching from the HACS version of the LaCrosse View integration, I’ve noticed that the core version does not seem to keep my sensors updated unless I force ‘reload’ the integration.

My sensors are from the “Weather Station Display” product. Temperature, Humidity, and Heat Index

What version of Home Assistant Core has the issue?

2022.9.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

lacrosse_view

Link to integration documentation on our website

https://www.home-assistant.io/integrations/lacrosse_view

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Unexpected error fetching LaCrosse View data: Failed to get sensor, status code: 502
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/lacrosse_view/coordinator.py", line 63, in _async_update_data
    sensors = await self.api.get_sensors(
  File "/usr/local/lib/python3.10/site-packages/lacrosse_view/__init__.py", line 242, in get_sensors
    raise HTTPError(
lacrosse_view.HTTPError: Failed to get sensor, status code: 502

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 205, in _async_refresh
    self.data = await self._async_update_data()
  File "/usr/src/homeassistant/homeassistant/components/lacrosse_view/coordinator.py", line 70, in _async_update_data
    raise ConfigEntryNotReady from error
homeassistant.exceptions.ConfigEntryNotReady: Failed to get sensor, status code: 502

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (9 by maintainers)

Most upvoted comments

100% understood! I appreciate your contributions!

Hi guys! I have good news! I have found the solution to this problem! Please expect a new PR soon, and it should be in before 2022.10!

Okay, I’ll get to work on this now. I need to investigate the cause of the issue.

PR #79474 has been opened 😃

It’s important to have a life outside of HA! When you are ready, if I can help with any testing please reach out. In the mean time if I come across any additional information I’ll post it here (but won’t expect a timely acknowledgement). In the meantime, my reload every 15 minutes is working for me.