Vacuum Cleaner - Tuya integration services missing
See original GitHub issueThe problem
LIECTROUX XR500 Robot Vacuum Cleaner (compatible with Tuya). Already performed all the integration with App Tuya and Tuya IoT Platform. So far all ok. I can control the robot through HA by the custom cards, but with some limitations.
The “>” (Start) or “START CLEANING” button on the Entity Card has no effect. Log: [homeassistant.components.tuya.base] Sending commands for device xxxxxxxx: [{‘code’: <DPCode.POWER_GO: ‘power_go’>, ‘value’: True}] No errors, no actions
“Pause”, “Stop”, “Locate” and “Return Home” are OK.
The only way to start the cleanup is to toggle the “Smart” option of “select.liectroux_xr500_mode” in the “Entity Card”. Log: DEBUG (SyncWorker_6) [homeassistant.components.tuya.base] Sending commands for device xxxxx: [{‘code’: <DPCode.MODE: ‘mode’>, ‘value’: ‘smart’}] Its OK. Start Smart Cleaning
I would just like to create an automation that starts cleaning at dawn (it’s an office).
What version of Home Assistant Core has the issue?
core-2021.12.9
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/
Example YAML snippet
No response
Anything in the logs that might be useful for us?
DEBUG (SyncWorker_6) [homeassistant.components.tuya.base] Sending commands for device xxxxx: [{‘code’: <DPCode.MODE: ‘mode’>, ‘value’: ‘smart’}]
ITs OK
[homeassistant.components.tuya.base] Sending commands for device xxxxxxxx: [{‘code’: <DPCode.POWER_GO: ‘power_go’>, ‘value’: True}]
No errors, no actions
Additional information
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
The need to set the mode before executing the start command is unique to the device, but you can use services to set this in your automations.
Currently, you can perform this automation through the Select: Select (
select.select_option
) service.As of the next version, you can use the Vacuum: Send command (
vacuum.send_command
) service to perform these automations.Hello! This is a bug with the software on the vacuum itself, normally the devices will switch to the correct cleaning mode upon being started.
I created a blueprint that you can add here: Tuya - Vacuum Start Action Fix, with this blueprint applied, you can use the start action normally in the UI and the blueprint will change the mode automatically.
Hope it helps!