-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
System Health details
It seems the API is looking for another option, 'inactive'. Need to update sensor.py with the additional option.
Checklist
- I have enabled debug logging for my installation.
- I have filled out the issue template to the best of my ability.
- This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
- This issue is not a duplicate issue of currently previous issues..
Describe the issue
API requires another option, 'inactive'.
Reproduction steps
- Run the program, using different modes.
- Will see errors of API looking for the option, 'inactive'.
...
Debug logs
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
Diagnostics dump
No response
Metadata
Metadata
Assignees
Labels
No labels