It seems the API is looking for another option, 'inactive'. Need to update sensor.py with the additional option.
API requires another option, 'inactive'.
...
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 561, in _handle_coordinator_update
self.async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1019, in async_write_ha_state
self._async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1141, in _async_write_ha_state
self.__async_calculate_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1081, in __async_calculate_state
state = self._stringify_state(available)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1025, in _stringify_state
if (state := self.state) is None:
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 640, in state
raise ValueError(
...<2 lines>...
)
ValueError: Sensor sensor.aquanta_a_mode provides state value 'inactive', which is not in the list of options provided
System Health details
It seems the API is looking for another option, 'inactive'. Need to update sensor.py with the additional option.
Checklist
Describe the issue
API requires another option, 'inactive'.
Reproduction steps
...
Debug logs
Diagnostics dump
No response