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

'heating external engery source' is not in the list of options provided #233

Closed
dbu42 opened this issue Jan 21, 2024 · 2 comments
Closed

Comments

@dbu42
Copy link

dbu42 commented Jan 21, 2024

My alpha innotec heat pump has an external energy source temperature sensor "ID_WEB_Temperatur_TEE". If that sensor goes beyond a defined threshold the luxtronik heat pump is blocked and sets status to "heating external engery source". The integration crashes with following exception.

Thanks for checking.

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: custom_components.luxtronik2
Source: helpers/update_coordinator.py:300 
Integration: Luxtronik 
First occurred: 17:54:17 (18 occurrences) 
Last logged: 18:11:17

Unexpected error fetching luxtronik2 data: Sensor sensor.luxtronik_0_00_status_line_3 provides state value 'heating external engery source', which is not in the list of options provided
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 300, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/luxtronik2/coordinator.py", line 98, in _async_update_data
    self.data = await self._async_read_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/luxtronik2/coordinator.py", line 102, in _async_read_data
    return await self._async_read_or_write(False, None, None)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/luxtronik2/coordinator.py", line 125, in _async_read_or_write
    self.async_set_updated_data(data)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 426, in async_set_updated_data
    self.async_update_listeners()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 182, in async_update_listeners
    update_callback()
  File "/config/custom_components/luxtronik2/sensor.py", line 174, in _handle_coordinator_update
    super()._handle_coordinator_update()
  File "/config/custom_components/luxtronik2/base.py", line 166, in _handle_coordinator_update
    super()._handle_coordinator_update()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 479, in _handle_coordinator_update
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 945, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1066, in _async_write_ha_state
    state, attr, capabilities, shadowed_attr = self.__async_calculate_state()
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1003, in __async_calculate_state
    state = self._stringify_state(available)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 951, in _stringify_state
    if (state := self.state) is None:
                 ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 618, in state
    raise ValueError(
ValueError: Sensor sensor.luxtronik_0_00_status_line_3 provides state value 'heating external engery source', which is not in the list of options provided

rhammen added a commit to rhammen/BenPru_luxtronik that referenced this issue Jan 21, 2024
@rhammen rhammen mentioned this issue Jan 21, 2024
BenPru added a commit that referenced this issue Jan 25, 2024
@BenPru
Copy link
Owner

BenPru commented Feb 10, 2024

@dbu42 Please install and try the main branch.

@rhammen
Copy link
Contributor

rhammen commented Sep 30, 2024

@BenPru I think this issue can be closed, implemented in earlier release.

@BenPru BenPru closed this as completed Sep 30, 2024
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

3 participants