PiotrMachowski / lovelace-xiaomi-vacuum-map-card

This card provides a user-friendly way to fully control map-based vacuums in Home Assistant. Supported brands include Xiaomi (Roborock/Viomi/Dreame/Roidmi/Valetudo/Valetudo RE), Neato, Wyze, Roomba, Ecovacs (and probably more).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Native support for Roborock mopping options

znanywawa opened this issue · comments

Description

Hi,
As new update of custom Roborock integration: https://github.com/humbertogontijo/homeassistant-roborock supports now ability to set mop intensity and mop mode, I think it would be great to add it to card.
image

Solution

I would like to be able to set mopping settings on Map Card while mop is attached:
image

Alternatives

No response

Context

No response

Yes, this is something I have on my todo list, but at this moment icons are not generated per integration, so I need to make them platform-dependent first.

Completely understand and waiting for this update :)

commented

@znanywawa While you're waiting, you can add them pretty easily under icons and tiles with this config using the configuration below. If you are using the auto-generated tiles and icons, just make sure to add the append_tiles and append_icons fields.

  - tile_id: mop_intensity
    entity: select.roborock_s7_mop_mode
    label: Mop Mode
    icon: mdi:water-check
  - tile_id: mop_intensity
    entity: select.roborock_s7_mop_intensity
    label: Mop Intensity
    icon: mdi:water-percent
  - icon: mdi:water-check
    tooltip: Change mop mode
    tap_action:
      action: call-service
      service: select.select_next
      service_data:
        entity_id: select.roborock_s7_mop_mode
  - icon: mdi:water-percent
    tooltip: Change mop intensity
    tap_action:
      action: call-service
      service: select.select_next
      service_data:
        entity_id: select.roborock_s7_mop_intensity

Thanks @doug144, I am aware of it (I have tested it as well with condition that mop must be attached).
I was more thinking about dropdown menu :)
You know, I dont wanna describe my wife how to use it :)

@doug144 can you check if v2.2.0-beta.4 version adds 2 new icons for mopping features?

commented

It does and it looks & works great. Thanks!

Great, thank you!