Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add cloud device status for LitterBox #97

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Jezza34000
Copy link

  • Added the Cloud Status sensor for litter boxes. (Sensor already present for feeders as FeederStatus)
    State got from "state.pim" key
    This information is already used to make the buttons "unavailable" but was not displayed as a sensor

@RobertD502
Copy link
Owner

RobertD502 commented Nov 17, 2024

Hi, please revert the changes that you have made to the strings and English translation file as it will break the integration for feeders. Instead, create the device_status (without the on batteries state) as its own key while keeping the feeder_status as it was.

Edit: disregard, I missed the commit you made that fixed the issue.

@Jezza34000
Copy link
Author

So yes, I chose to reuse "feeder_status" which I renamed to "device_status" to avoid making the code heavier.
There is actually no "battery" status on the Litter Boxes but that is not that problematic.
What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants