mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00

* s-t integrations: apply sentence-style caps to categories * Apply suggestions from code review Co-authored-by: Joakim Sørensen <joasoe@gmail.com> * Apply suggestions from code review Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> --------- Co-authored-by: Joakim Sørensen <joasoe@gmail.com> Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
1.8 KiB
1.8 KiB
title, description, ha_category, ha_release, ha_iot_class, ha_codeowners, ha_domain, ha_config_flow, ha_platforms, ha_integration_type
title | description | ha_category | ha_release | ha_iot_class | ha_codeowners | ha_domain | ha_config_flow | ha_platforms | ha_integration_type | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sure Petcare | Instructions on how to integrate the Sure Petcare cat and pet flaps into Home Assistant. |
|
0.104 | Cloud Polling |
|
surepetcare | true |
|
integration |
The Sure Petcare integration allows you to get information on your Sure Petcare Connect Pet or Cat Flap.
{% include integrations/config_flow.md %}
Services
Service surepetcare.set_lock_state
This service lets you change the locking state of a flap.
Service data attribute | Required | Type | Description |
---|---|---|---|
flap_id |
True |
integer | Flap ID to change - see below for instructions on finding device ID |
lock_state |
True |
string | New state to change the flap to |
The flap_id
can be found following these instructions:
- Log into surepetcare.io.
- Open the sidebar and click your flap.
- The
flap_id
will be at the end of the URL (i.e.,https://surepetcare.io/control/device/FLAP-ID
)
lock_state
should be one of:
unlocked
- flap is unlocked, pets are allowed both in and out.locked_in
- flap is 'in only' - pets can come in but not go back out.locked_out
- flap is 'out only' - pets can go out, but not back in.locked_all
- flap is locked both ways.
Service surepetcare.set_pet_location
This service lets you set the pet location.
Service data attribute | Required | Type | Description |
---|---|---|---|
name |
yes | string | Pet name |
location |
yes | string | Pet location |
location
should be one of:
Inside
- Pet is inside.Outside
- Pet is outside.