-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Describe the bug
In homeassistant BSB-LAN throws an error while trying to initialize LPB and PPS devices.
Debug mode reveals the exact issue:
2025-12-10 14:51:46.205 WARNING (MainThread) [bsblan.bsblan] min_temp not available from device, temperature range will be None
2025-12-10 14:51:46.205 WARNING (MainThread) [bsblan.bsblan] max_temp not available from device, temperature range will be None
2025-12-10 14:51:47.087 ERROR (MainThread) [homeassistant.components.bsblan] Unexpected error fetching bsblan_fast_192.168.XXX.XXX data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 419, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/bsblan/coordinator.py", line 100, in _async_update_data
state = await self.client.state()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/bsblan/bsblan.py", line 564, in state
data["hvac_mode"]["value"] = HVAC_MODE_DICT[int(data["hvac_mode"]["value"])]
~~~~^^^^^^^^^^^^^
KeyError: 'hvac_mode'
Device 1 (PPS):
Device 2 (LPB):
Home Assistant OS
Core 2025.12.2
Supervisor 2025.12.3
Operating System 16.3
Frontend 20251203.2
To Reproduce
Configure a BSB-LAN device and try to connect it to home assistant via the https://www.home-assistant.io/integrations/bsblan plugin.
Additional context
I've previously commented about this issue in the home assistant repository issues: home-assistant/core#152146 (comment) but it seems to be better suited here
Metadata
Metadata
Assignees
Labels
No labels