Tasshack / dreame-vacuum

Home Assistant integration for Dreame robot vacuums with map support
https://community.home-assistant.io/t/custom-component-dreame-vacuum
MIT License
887 stars 110 forks source link

Unable to Disable Mopping with vacuum_clean_segment Service #689

Closed martindybal closed 2 months ago

martindybal commented 2 months ago

I am attempting to disable the mopping function when using the vacuum_clean_segment service. According to the documentation, I tried the following approaches:

  1. Set the water_volume parameter to 0. (minimum by service.yaml is 1, but in code is not strict)
  2. Omitted the water_volume parameter entirely from the service call. Unfortunately, both methods failed to disable the mopping function, and the vacuum continues to mop even when these settings are applied.

Is this a bug, or is there a different method to disable the mopping function? Any guidance would be appreciated.

services.yaml#L30.

vacuum.py#L235

Tasshack commented 2 months ago

Set cleaning mode not water volume.

martindybal commented 2 months ago

@Tasshack there is no mode in documentation neither in code. What's expected values? If you mean mode entity, it's not available for my Xiaomi X20+.