Sure Petcare
The Sure Petcare integration allows you to get information on your Sure Petcare Connect Pet or Cat Flap.
配置
要将 Sure Petcare integration 添加到您的 Home Assistant 实例中,请使用此 My 按钮:
手动配置步骤
如果上述 My 按钮不起作用,您也可以手动执行以下步骤:
-
浏览到您的 Home Assistant 实例。
-
转到
设置 > 设备与服务。 -
在右下角,选择
Add Integration 按钮。 -
从列表中选择 Sure Petcare。
-
按照屏幕上的说明完成设置。
Actions
Action surepetcare.set_lock_state
This action lets you change the locking state of a flap.
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.
Action surepetcare.set_pet_location
This action lets you set the pet location.
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.