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 when enabling Switch enable_fixed_system_supply_set_point #230

Open
de0021 opened this issue Jun 9, 2023 · 0 comments
Open

Error when enabling Switch enable_fixed_system_supply_set_point #230

de0021 opened this issue Jun 9, 2023 · 0 comments

Comments

@de0021
Copy link

de0021 commented Jun 9, 2023

Hi,

Benn running Home assistant and this integration for a few months and works great.

Just got o problem yeasterday when trying to enable the switch "enable_fixed_system_supply_set_point".

If I deactivate it and reload the integration it starts working again.
Running Version 13 on the heatpump and 23.5

Thanks :)

Returns an error:
KeyError: 'coil_enable_fixed_system_supply_set_point'
2023-06-09 07:08:44.283 ERROR (MainThread) [custom_components.thermiagenesis] Unexpected error fetching thermiagenesis data: 'coil_enable_fixed_system_supply_set_point'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/thermiagenesis/init.py", line 98, in _async_update_data
data = await self.thermia.async_update(only_registers=registers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pythermiagenesis/init.py", line 76, in async_update
raw_data = await self._get_data(use_registers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pythermiagenesis/init.py", line 161, in _get_data
if(not raw_data[ATTR_COIL_ENABLE_FIXED_SYSTEM_SUPPLY_SET_POINT] and not self.data[ATTR_COIL_ENABLE_FIXED_SYSTEM_SUPPLY_SET_POINT]):
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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