Closed thewishy closed 3 years ago
Hey there @benleb, mind taking a look at this issue as its been labeled with an integration (surepetcare
) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)
Duplicate of https://github.com/home-assistant/core/issues/50150 Will be fixed when a new version https://github.com/benleb/surepy is available https://github.com/benleb/surepy/blob/master/surepy/entities/pet.py#L48
The problem
On initial setup of a Sure catflap, your cats do not necessarily have have an in / out status. (Effectively, it can be null)
I believe this was the cause of the integration failing to load with KeyError: 'status'.
Workaround: Make sure all cats have a location, this can be done manually via the Sure website. I'm guessing this will be a pain to repro, unfortunately I didn't dump any data while my account was in this state.
What is version of Home Assistant Core has the issue?
core-2021.5.5
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Core
Integration causing the issue
superpetcare
Link to integration documentation on our website
https://www.home-assistant.io/integrations/surepetcare/
Example YAML snippet
No response
Anything in the logs that might be useful for us?