Closed andrew-jacob closed 3 years ago
Is @natekspencer still the codeowner?
Hey there @natekspencer, mind taking a look at this issue as its been labeled with an integration (litterrobot
) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)
@andrew-jacob this changed in release 2021.5 to using its own service. See "Litter-Robot" under:
https://www.home-assistant.io/blog/2021/05/05/release-20215/#breaking-changes
So now, you'd call it like:
service: litterrobot.reset_waste_drawer
target:
entity_id: vacuum.lr_litter_box
I'll get the documentation updated so it correctly reflects this though!
That solved my problem; I would consider this issue closed with updated documentation. Thank you for the prompt reply!
Will be resolved with https://github.com/home-assistant/home-assistant.io/pull/17743
@natekspencer , the script below never worked for me using Home Assistant 2021.5.x, I keep getting the error messages below each time I execute the script:
2021-05-11 17:41:51 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities vacuum.lr_litter_box
2021-05-11 17:42:00 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities vacuum.lr_litter_box
2021-05-11 17:42:02 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities vacuum.lr_litter_box
2021-05-11 17:42:09 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities vacuum.lr_litter_box
2021-05-11 17:42:23 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities vacuum.lr_litter_box
Script:
reset_litter_robot_waste_drawer:
alias: Reset Litter-Robot waste drawer
sequence:
- service: litterrobot.reset_waste_drawer
target:
entity_id: vacuum.lr_litter_box
mode: single
The old script used to work perfectly before this breaking change. What am I doing wrong? I even tried it via Developer tools. It can't find the respective entity vacuum.lr_litter_box
for service litterrobot.reset_waste_drawer
.
PS: I also noticed that once the Integration loses contact with the Litter-Robot; such a from a temporary Internet outage, the Integration will not try to reconnect. I had to reboot my entire Home Assistant VM for it to work again. Is there a way to get it to automatically recover without rebooting Home Assistant?
@mkanet you've got to use the actual name of your litter box vacuum entity. The script here is just an example.
@natekspencer I feel so dumb. Thank you! The script is working now.
Just one more thing... I also noticed that once this Integration loses contact with the Litter-Robot; such a from a temporary Internet outage, the Integration will not try to reconnect to the litter-robot. I had to reboot my entire Home Assistant VM for it to update its sensors again. Is there a way to get the Integration to automatically recover without rebooting Home Assistant? Seems kind of extreme to reboot Home Assistant.
@natekspencer I feel so dumb. Thank you! The script is working now.
Just one more thing... I also noticed that once this Integration loses contact with the Litter-Robot; such a from a temporary Internet outage, the Integration will not try to reconnect to the litter-robot. I had to reboot my entire Home Assistant VM for it to update its sensors again. Is there a way to get the Integration to automatically recover without rebooting Home Assistant? Seems kind of extreme to reboot Home Assistant.
It should already do that. If it happens again, please open a new ticket. Also, for general questions/troubleshooting, please consider using the discord channel or community forums rather than adding additional/unrelated requests to tickets. It makes it harder to triage if we have to read through multiple comments.
Thank you!
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The problem
I am attempting to call the 'reset_waste_drawer' command but I get an error: "Failed to call service vacuum.send_command. Unknown error"
What is version of Home Assistant Core has the issue?
core-2021.5.0
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Litter-Robot
Link to integration documentation on our website
https://www.home-assistant.io/integrations/litterrobot
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response