Open sdmorris1950 opened 1 month ago
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!
(message by CodeOwnersMention)
tuya documentation tuya source (message by IssueLinks)
I have almost the exact same issue. A Tuya ceiling fan with a light. It used to work fine, but now I get the same error as you for the light entity. Fan control works as usual.
Maybe worth to mention is that I also see the same issue with LocalTuya. Remote control and Tuya app control works fine, so there is not a broken ceiling fan.
Seems like a mismatch in types.
Was able to work around with
`--- fan.py
+++ fan.py.orig
@@ -250,7 +250,7 @@
if self._speeds is not None:
if (value := self.device.status.get(self._speeds.dpcode)) is None:
return None
return ordered_list_item_to_percentage(self._speeds.range, value)
return None
The problem
I have a Tuya ceiling fan with a light. I can control both the fan speed, timer and direction in the Tuya app and with Alexa. However, when I added it to HA, I can control the light, but the fan is listed as unavailable with the message "This entity is no longer being provided by the Tuya integration." The entity is entity fan.ceiling_fan_with_light.
I have attached the log for the error and the diagnostic
fan.ceiling_fan_with_light log.txt tuya-befa4c451b1ff6e4eb2455af72e6c599-Ceiling Fan With Light-4f572d2bc74121abdfe7a26be516a4e5.json
What version of Home Assistant Core has the issue?
core-2024.5.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Tuya
Link to integration documentation on our website
No response
Diagnostics information
tuya-befa4c451b1ff6e4eb2455af72e6c599-Ceiling Fan With Light-4f572d2bc74121abdfe7a26be516a4e5.json
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response