You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Регистратор: homeassistant.util.logging
Источник: util/logging.py:98
Первое сообщение: 19:47:40 (885 сообщений)
Последнее сообщение: 23:24:11
Exception in async_write_ha_state when dispatching 'tuya_entry_update_bf5fa69e0f84c13e9b8qf6': () Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1009, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1132, in _async_write_ha_state state, attr, capabilities, shadowed_attr = 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 420, in state_attributes data[ATTR_PERCENTAGE] = self.percentage ^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/tuya/fan.py", line 254, in percentage return ordered_list_item_to_percentage(self._speeds.range, value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/util/percentage.py", line 33, in ordered_list_item_to_percentage raise ValueError(f'The item "{item}" is not in "{ordered_list}"') ValueError: The item "silent" is not in "['low', 'high']"
What version of Home Assistant Core has the issue?
core-2024.5.5
What was the last working version of Home Assistant Core?
Hey there @tuya, @zlinoliver, @frenck, mind taking a look at this issue as it has been labeled with an integration (tuya) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of tuya can trigger bot actions by commenting:
@home-assistant close Closes the issue.
@home-assistant rename Awesome new title Renames the issue.
@home-assistant reopen Reopen the issue.
@home-assistant unassign tuya Removes the current integration label and assignees on the issue, add the integration domain after the command.
@home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
@home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The problem
Device: Air Purifier XJ-3900A
Регистратор: homeassistant.util.logging
Источник: util/logging.py:98
Первое сообщение: 19:47:40 (885 сообщений)
Последнее сообщение: 23:24:11
Exception in async_write_ha_state when dispatching 'tuya_entry_update_bf5fa69e0f84c13e9b8qf6': () Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1009, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1132, in _async_write_ha_state state, attr, capabilities, shadowed_attr = 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 420, in state_attributes data[ATTR_PERCENTAGE] = self.percentage ^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/tuya/fan.py", line 254, in percentage return ordered_list_item_to_percentage(self._speeds.range, value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/util/percentage.py", line 33, in ordered_list_item_to_percentage raise ValueError(f'The item "{item}" is not in "{ordered_list}"') ValueError: The item "silent" is not in "['low', 'high']"
What version of Home Assistant Core has the issue?
core-2024.5.5
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
tuya
Link to integration documentation on our website
https://www.home-assistant.io/integrations/tuya
Diagnostics information
tuya-39fa7213458453c73a1a3fa1054d3184-Air Purifier XJ-3900A-68c786704cfbb8eea6de918a7903608f (1).json
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: