Sure PetCare: Cannot set 'Indoor Mode' for Pets
The problem
We are a multi-pet family and need the ability to control each pets ability to exit the house.
The only way to do this is via setting 'Indoor Mode' at the Pet level.
This function is available via the native iOS app but is not provided via HA.
If someone is able to inspect why, this would be greatly appreciated!
Otherwise, I fear I may need to build my own door…which also has local only access.
What version of Home Assistant Core has the issue?
2025.1.2
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
No response
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
Hey there @benleb, @danielhiversen, mind taking a look at this issue as it has been labeled with an integration (surepetcare) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of surepetcare can trigger bot actions by commenting:
@home-assistant closeCloses the issue.@home-assistant rename Awesome new titleRenames the issue.@home-assistant reopenReopen the issue.@home-assistant unassign surepetcareRemoves the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-informationAdd a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-informationRemove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
surepetcare documentation surepetcare source (message by IssueLinks)
@Danielhiversen any thoughts on this, please? :)
@Danielhiversen Would it be best for another member of the team to review this, please? 🙏
@JohnMcIl I'm also very interested in this and actually needs it. Seems the owner is busy so I will have a look at it and maybe make a PR if I succeed the have something working., I don't know exactly when I will have time to take a look, but it's on my todo list.
Nice!!! Love your enthusiasm :D
Best wishes,
John McIlveen On 14 Feb 2025 at 8:10 PM +1100, Shelly @.***>, wrote:
@JohnMcIl I'm also very interested in this and actually needs it. Seems the owner is busy so I will have a look at it and maybe make a PR if I succeed the have something working., I don't know exactly when I will have time to take a look, but it's on my todo list.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
shelly-rng left a comment (home-assistant/core#136035) @JohnMcIl I'm also very interested in this and actually needs it. Seems the owner is busy so I will have a look at it and maybe make a PR if I succeed the have something working., I don't know exactly when I will have time to take a look, but it's on my todo list. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
I would also love this feature to be available within HA - although sadly I've had to move to SureHA at the moment, due to this integration currently being broken.
Hello, for this i use action: surepetcare.set_pet_location inside or outside
I'm also looking for this feature. Would be great if this is available!
See my comment here: https://github.com/benleb/sureha/issues/73
I am trying to expose this in surepy as well as sureHA to get this working ... for now you can do as on the post above as a temp workaround. It works :)
I could maybe implement it into my integration but unsure which properties that the Api exposes. https://github.com/FredrikM97/hass-surepetcare.
How does it look like in the official app?
I could maybe implement it into my integration but unsure which properties that the Api exposes. https://github.com/FredrikM97/hass-surepetcare.
How does it look like in the official app?
I got this working by modifying the surepy API here: https://github.com/benleb/surepy/pull/223
This added the set_indoor_only and set_outdoor ability. Note that is different to the actual location being indoor/outdoor, it refers to that pet never being allowed out.
I also modified the SureHA code here: https://github.com/benleb/sureha/pull/75
I have this running for 4 cats in my house with no issues. FYI it looks like the below in the app.
@bushbrother does this work if you would have multiple flaps?
@bushbrother does this work if you would have multiple flaps?
It should do as it is against the pet tag_id not the flap, I would assume multiple flaps would have assigned pets/tags and pull the relevant info.
I only have 1 flap to test with ...
AWESOME work @bushbrother !! I cannot see this on my integration, how do I force an update?
AWESOME work @bushbrother !! I cannot see this on my integration, how do I force an update?
This needs @benleb to approve my PR on surepy, this will then allow the various surepet addons to make use of this how they see fit. I modified and submitted a PR to SureHA too, and you are free to pull that version to test it, but you need surepy first.
Hey guys,
Any update when this will be merged? On 16 Jul 2025 at 3:15 AM +1000, Laurie Richards @.***>, wrote:
bushbrother left a comment (home-assistant/core#136035)
AWESOME work @bushbrother !! I cannot see this on my integration, how do I force an update? This needs @benleb to approve my PR on surepy, this will then allow the various surepet addons to make use of this how they see fit. I modified and submitted a PR to SureHA too, and you are free to pull that version to test it, but you need surepy first. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
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.
Please do not close.
Morning,
When will this be actioned?
Best wishes,
John McIlveen On 25 Oct 2025 at 7:26 PM +1100, Steven Davies @.***>, wrote:
daviessm left a comment (home-assistant/core#136035) Please do not close. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
@bushbrother does this actually work for you? I just manually overwritten the sureha files in mij custom components dir in mijn Home Assistant, and after a reboot of home assistant I gained the two methods you were talking about prior, but I do not seem to get them to work. For me nothing changes in the Sure Petcare app when I call these methods. I tried both methods when the only-indore state of my pet was true and I tried them when it was false. I even removed all SureHA devices and readded them again, still no changes. Can you tell me more about what might be going wrong?
Hi - this exposed method also needs to be consumed by the surepetcare integration, I made a fork of SureHA - you can use that toget the switch toggle to do what you need, this is also awaiting @benleb/surepy @.***> to approve.
On Thu, 30 Oct 2025 at 20:24, Robovh @.***> wrote:
Robovh left a comment (home-assistant/core#136035) https://github.com/home-assistant/core/issues/136035#issuecomment-3469960897
@bushbrother https://github.com/bushbrother does this actually work for you? I just manually overwritten the sureha files in mij custom components dir in mijn Home Assistant, and after a reboot of home assistant I gained the two methods you were talking about prior, but I do not seem to get them to work. For me nothing changes in the Sure Petcare app when I call these methods. I tried both methods when the only-indore state of my pet was true and I tried them when it was false. I even removed all SureHA devices and readded them again, still no changes. Can you tell me more about what might be going wrong?
— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/136035#issuecomment-3469960897, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXZIYKER4CU2QQDY46QRV332JXX7AVCNFSM6AAAAABVPE2HPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTINRZHE3DAOBZG4 . You are receiving this because you were mentioned.Message ID: @.***>
Note you can also try the below add on, they used an alternative to surepy and it's also working.
https://github.com/FredrikM97/hass-surepetcare
On Fri, 31 Oct 2025, 15:27 Laurie Richards, @.***> wrote:
Hi - this exposed method also needs to be consumed by the surepetcare integration, I made a fork of SureHA - you can use that toget the switch toggle to do what you need, this is also awaiting @benleb/surepy @.***> to approve.
On Thu, 30 Oct 2025 at 20:24, Robovh @.***> wrote:
Robovh left a comment (home-assistant/core#136035) https://github.com/home-assistant/core/issues/136035#issuecomment-3469960897
@bushbrother https://github.com/bushbrother does this actually work for you? I just manually overwritten the sureha files in mij custom components dir in mijn Home Assistant, and after a reboot of home assistant I gained the two methods you were talking about prior, but I do not seem to get them to work. For me nothing changes in the Sure Petcare app when I call these methods. I tried both methods when the only-indore state of my pet was true and I tried them when it was false. I even removed all SureHA devices and readded them again, still no changes. Can you tell me more about what might be going wrong?
— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/136035#issuecomment-3469960897, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXZIYKER4CU2QQDY46QRV332JXX7AVCNFSM6AAAAABVPE2HPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTINRZHE3DAOBZG4 . You are receiving this because you were mentioned.Message ID: @.***>
When will this be part of the native integration>?
Best wishes,
John McIlveen On 31 Oct 2025 at 10:47 PM +1100, Laurie Richards @.***>, wrote:
bushbrother left a comment (home-assistant/core#136035) Note you can also try the below add on, they used an alternative to surepy and it's also working.
https://github.com/FredrikM97/hass-surepetcare
On Fri, 31 Oct 2025, 15:27 Laurie Richards, @.***> wrote:
Hi - this exposed method also needs to be consumed by the surepetcare integration, I made a fork of SureHA - you can use that toget the switch toggle to do what you need, this is also awaiting @benleb/surepy @.***> to approve.
On Thu, 30 Oct 2025 at 20:24, Robovh @.***> wrote:
Robovh left a comment (home-assistant/core#136035) https://github.com/home-assistant/core/issues/136035#issuecomment-3469960897
@bushbrother https://github.com/bushbrother does this actually work for you? I just manually overwritten the sureha files in mij custom components dir in mijn Home Assistant, and after a reboot of home assistant I gained the two methods you were talking about prior, but I do not seem to get them to work. For me nothing changes in the Sure Petcare app when I call these methods. I tried both methods when the only-indore state of my pet was true and I tried them when it was false. I even removed all SureHA devices and readded them again, still no changes. Can you tell me more about what might be going wrong?
— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/136035#issuecomment-3469960897, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXZIYKER4CU2QQDY46QRV332JXX7AVCNFSM6AAAAABVPE2HPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTINRZHE3DAOBZG4 . You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>