vacuum-card
vacuum-card copied to clipboard
Buttons for a manual control
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.
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.
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).
Any progress?
@slydiman nope. If you want this feature, you can send a PR or wait till someone else does this.
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!
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.