home-assistant / home-assistant.io

:blue_book: Home Assistant User documentation
https://www.home-assistant.io
Other
4.96k stars 7.28k forks source link

How do I start a clean cycle? #27890

Closed mkanet closed 1 year ago

mkanet commented 1 year ago

Feedback

How do I start a clean cycle? I couldnt find it in the documentation.

I know that it is possible to do this with something like https://github.com/natekspencer/pylitterbot await robot.start_cleaning()

However, I couldn't fine the equivalent service to call for.the HA Litter-Robot Integration.

URL

https://www.home-assistant.io/integrations/litterrobot/

Version

2023.6.2

Additional information

No response

home-assistant[bot] commented 1 year ago

Hey there @natekspencer, @tkdrob, mind taking a look at this feedback as it has been labeled with an integration (litterrobot) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `litterrobot` can trigger bot actions by commenting: - `@home-assistant close` Closes the feedback. - `@home-assistant rename Awesome new title` Renames the feedback. - `@home-assistant reopen` Reopen the feedback. - `@home-assistant unassign litterrobot` Removes the current integration label and assignees on the feedback, add the integration domain after the command.
tkdrob commented 1 year ago

Open device in the UI. Click on Litter box. There should be a play symbol. It uses vacuum as the service call domain to be technical. Does litter box description not show up in the documentation? You may find better support in the community forums.

mkanet commented 1 year ago

Open device in the UI. Click on Litter box. There should be a play symbol. It uses vacuum as the service call domain to be technical. Does litter box description not show up in the documentation? You may find better support in the community forums.

Thanks. Yes, I know how to access the play button in the UI. However, I couldn't find an example in the documentation to create a script to start a clean cycle. I would like to add this capability to a HA card.

mkanet commented 1 year ago

@tkdrob I was able to figure it out on my own:

This is what I used:

alias: Start Litter-Robot clean cycle
sequence:
  - device_id: b3b9ef3e8a715fe547b2a57f5b30fdb2
    domain: vacuum
    entity_id: vacuum.litter_robot_litter_box
    type: clean
mode: single