vacuum-card icon indicating copy to clipboard operation
vacuum-card copied to clipboard

Buttons for a manual control

Open slydiman opened this issue 4 years ago • 4 comments

I have created the following buttons for manual control

      actions:
        - name: Manual control
          icon: mdi:google-controller
          service: xiaomi_miio.vacuum_remote_control_start
          service_data:
            entity_id: vacuum.miio
        - name: Left turn
          icon: mdi:rotate-left
          service: xiaomi_miio.vacuum_remote_control_move
          service_data:
            entity_id: vacuum.miio
            rotation: 30
            velocity: 0.0
            duration: 1000
        - name: Back
          icon: mdi:arrow-down-bold
          service: xiaomi_miio.vacuum_remote_control_move
          service_data:
            entity_id: vacuum.miio
            velocity: -0.29
            duration: 1000
        - name: Forward
          icon: mdi:arrow-up-bold
          service: xiaomi_miio.vacuum_remote_control_move
          service_data:
            entity_id: vacuum.miio
            velocity: 0.29
            duration: 1000
        - name: Right turn
          icon: mdi:rotate-right
          service: xiaomi_miio.vacuum_remote_control_move
          service_data:
            entity_id: vacuum.miio
            rotation: -30
            velocity: 0.0
            duration: 1000
        - name: Stop manual control
          icon: mdi:google-controller-off
          service: xiaomi_miio.vacuum_remote_control_stop
          service_data:
            entity_id: vacuum.miio

But these buttons gone after starting the manual control. Please integrate them to the UI or add a persistent flag for action buttons.

slydiman avatar Jun 26 '20 10:06 slydiman

What is the state of the vacuum when you enter manual control. If it enters a new state I can probably implement something similar to what I did for stats where you can define different set of actions for every state.

krystiancharubin avatar Aug 25 '20 12:08 krystiancharubin

The state is "manual mode" (note there is no language translation for this state). The card displays the same UI as during cleaning (there are stats and 3 buttons available - pause, stop, home).

slydiman avatar Aug 26 '20 18:08 slydiman

Any progress?

slydiman avatar Dec 08 '20 11:12 slydiman

@slydiman nope. If you want this feature, you can send a PR or wait till someone else does this.

denysdovhan avatar Feb 02 '21 13:02 denysdovhan

There hasn't been any activity on this issue recently. This issue has now been marked as stale and will be closed if no further activity occurs. Please, update to the latest version and check if that solves the issue. Thank you for your contributions!

github-actions[bot] avatar Jun 10 '23 10:06 github-actions[bot]

This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.

github-actions[bot] avatar Jul 10 '23 10:07 github-actions[bot]