I am seeing tons of log entries like the following:
Logger: homeassistant.helpers.dispatcher
Source: util/logging.py:95
First occurred: 11:34:55 AM (6 occurrences)
Last logged: 11:35:19 AM
Exception in async_write_ha_state when dispatching 'tuya_entry_update_bf2ee651339b73c7d12wuy': () Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1005, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1130, in _async_write_ha_state self.__async_calculate_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1069, in __async_calculate_state if state_attributes := self.state_attributes: ^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/fan/__init__.py", line 255, in __getattribute__ return super().__getattribute__(__name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/fan/__init__.py", line 522, in state_attributes data[ATTR_PERCENTAGE] = self.percentage ^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/fan/__init__.py", line 255, in __getattribute__ return super().__getattribute__(__name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/tuya/fan.py", line 258, in percentage return ordered_list_item_to_percentage(self._speeds.range, value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/util/percentage.py", line 29, in ordered_list_item_to_percentage raise ValueError(f'The item "{item}" is not in "{ordered_list}"') ValueError: The item "middle" is not in "['low', 'high']"
I only have one Tuya device which is a Eva ION Pro WiFi dehumidifier. Any pointers on what I should be doing with this error in my log?