asantaga / wiserHomeAssistantPlatform

Platform and related climate/sensors to support the Drayton Wiser Home Heating System
MIT License
237 stars 44 forks source link

Regression in sensors for UK heat hubs in v3.4.9 #513

Closed janstenpickle closed 12 minutes ago

janstenpickle commented 5 hours ago

I have an older heat hub model WT714R1S0902. It seems that #499 has removed the OpenTherm sensors from that device, despite it having an OpenTherm interface.

Rolling back to v3.4.8 resolves the issue

MelHarbour commented 5 hours ago

Yep, confirmed that it broke my system as well. I haven't got OpenTherm though - it just broke the ability to pull any information off the hub apparently.

Again, rolling back to v3.4.8 fixed it for me as well.

enthalpie91 commented 5 hours ago

I confirm some sensor are'nt available

msp1974 commented 3 hours ago

Can you all please provide diagnostics files and proper detail of what exactly is missing/error logs, so I can understand the issue. Thanks

andyblac commented 3 hours ago

same here it's worse even my heating control is now not working.

Screenshot 2024-11-01 at 20 53 54

config_entry-wiser-8b929c1b9da8ccf0a3de2fceb5dcc65f.json.zip

sammyh2506 commented 2 hours ago

Same issues with numerous wiser sensors not available...

Noticed this in the logs:

Logger: homeassistant.components.climate Source: helpers/entity_platform.py:724 integration: Climate (documentation, issues) First occurred: 22:19:03 (1 occurrences) Last logged: 22:19:03

wiser: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 724, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1300, in async_device_update await self.async_update() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 571, in async_update await self.coordinator.async_request_refresh() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 265, in async_request_refresh await self._debounced_refresh.async_call() File "/usr/src/homeassistant/homeassistant/helpers/debounce.py", line 114, in async_call await task File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 330, in async_refresh await self._async_refresh(log_failures=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 453, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 168, in async_update_listeners update_callback() File "/config/custom_components/wiser/sensor.py", line 361, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1005, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1130, in _async_write_ha_state self.async_calculate_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1071, in async_calculate_state if extra_state_attributes := self.extra_state_attributes: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/wiser/sensor.py", line 509, in extra_state_attributes device_id = self._data.wiserhub.devices.get_by_id(self._device_id).id ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'id'

mrpp commented 37 minutes ago

Crashed mine too, lost most sensors, reverted back to 3.4.8

msp1974 commented 12 minutes ago

All, sorry about that. It seems I had picked up the issue but not pushed it before release. v3.4.10 just released and should now be resolved.

Thanks @sammyh2506 for the log and @andyblac for the diagnostic.