-
-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an additonal button for the mopping function of the S5 Max (and others) #343
Comments
Is there a sensor/attribute that shows currently selected water level? |
Yes there is, if you do get_status, it is "water_box_mode".
|
Ok, but is it available in HA as a sensor or vacuum's attribute? |
Thanks for clarifing the isseu... Quite surprissed that this wan't expossed yet in HA.. |
Once you get it in HA here you have an example how to add it to card: |
@Happyboy0980 Did you happen to make any progress on getting levels exposed? I'd also like to get the water level via the card. I'm able to set it via the Off the top of my head, one solution to this would be to add a sensor that is just set to the last value you set it to with the service call. Then you could reference that in the condition. Using what @PiotrMachowski mentioned in that discussion, I came up with this for now: append_icons: true
icons:
- icon: mdi:water-off-outline
tap_action:
action: call-service
service: vacuum.send_command
service_data:
entity_id: vacuum.roborock_s6_maxv
command: set_water_box_custom_mode
params: 200
- icon: mdi:water-outline
tap_action:
action: call-service
service: vacuum.send_command
service_data:
entity_id: vacuum.roborock_s6_maxv
command: set_water_box_custom_mode
params: 201
- icon: mdi:water-opacity
tap_action:
action: call-service
service: vacuum.send_command
service_data:
entity_id: vacuum.roborock_s6_maxv
command: set_water_box_custom_mode
params: 202
- icon: mdi:water
tap_action:
action: call-service
service: vacuum.send_command
service_data:
entity_id: vacuum.roborock_s6_maxv
command: set_water_box_custom_mode
params: 203
- icon: mdi:water-circle
tap_action:
action: call-service
service: vacuum.send_command
service_data:
entity_id: vacuum.roborock_s6_maxv
command: set_water_box_custom_mode
params: 204
- icon: mdi:water-plus
tap_action:
action: call-service
service: vacuum.send_command
service_data:
entity_id: vacuum.roborock_s6_maxv
command: set_water_box_custom_mode
params: 207 It's a bit ugly since it shows all the water level buttons at once, but it's a good starting point. For more context, I have an S6 MaxV and the respective water levels are Close, Low, Medium, High, Customize (per room), and Custom. I'm not sure how to specify the custom water level or to customize rooms though via HA. |
Done in v2.2.0 |
Description
In my setup i have simply added the mopping function with a script.
This works great, but would be nicer if we could make it in the same way as is done with the fan power.
This would really make it "complete".
Scripts are very "simple" :
Mopping "off":
Mopping "low":
Mopping "medium":
mopping high :
Also customized level is possible when i rember correctly (205) but didn't impliment this.
Feedback if the mop is attached (binary_sensor.roborock_s5_max_mop_attached)
Feedback if the waterbox is attached (binary_sensor.roborock_s5_max_water_box_attached)
As icons for the different water level i used :
mdi:water-off-outline
mdi:water-outline
mdi:water-opacity
mdi:water
Solution
Add the mopping in the same way is how the fan power is set.
Alternatives
Currently using seperate buttons to set this the mopping level.. not looking so clean...
Context
No response
The text was updated successfully, but these errors were encountered: