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

Error after connecting: "Failed setup" #1058

Open
gaunap opened this issue Dec 26, 2024 · 0 comments
Open

Error after connecting: "Failed setup" #1058

gaunap opened this issue Dec 26, 2024 · 0 comments

Comments

@gaunap
Copy link

gaunap commented Dec 26, 2024

Describe the bug
I am using the home assistant plugin for BSB-Lan.
Connecting with BSB-LAN succeeds. Afterwards I get an error message in the "Needs attention" section of the Addin, which says: "Failed setup, will retry: Field 'min_temp' of type EntityInfo is missing in StaticState instance"
The callstack suggests that the python wrapper has a Problem:

Unexpected error fetching bsblan_192.168.0.198 data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 379, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/bsblan/coordinator.py", line 59, in _async_update_data
await self.client.initialize()
File "/usr/local/lib/python3.13/site-packages/bsblan/bsblan.py", line 107, in initialize
await self._initialize_temperature_range()
File "/usr/local/lib/python3.13/site-packages/bsblan/bsblan.py", line 211, in _initialize_temperature_range
static_values = await self.static_values()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/bsblan/bsblan.py", line 419, in static_values
return StaticState.from_dict(data)
~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "", line 6, in mashumaro_from_dict
mashumaro.exceptions.MissingField: Field "min_temp" of type EntityInfo is missing in StaticState instance

To Reproduce
Steps to reproduce the behavior:

Install the BSB-LAN addin in HA.
Add a device.
Enter the host and press submit

Expected behavior
The addin works

Screenshots
image

Desktop (please complete the following information):

  • OS: Linux / HomeAssist Green

Additional context
Also created an issue here: home-assistant/home-assistant.io#36555
Feel free to close one of em.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant