mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 17:57:14 +00:00
Add instructions to get the flap_id (#24475)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
ed642f930e
commit
e1d3f69f6e
@ -32,9 +32,15 @@ This service lets you change the locking state of a flap.
|
|||||||
|
|
||||||
| Service data attribute | Required | Type | Description |
|
| Service data attribute | Required | Type | Description |
|
||||||
| ---------------------- | -------- | -------- | ----------- |
|
| ---------------------- | -------- | -------- | ----------- |
|
||||||
| `flap_id` | `True` | integer | Flap ID to change - see below for instructions on finding device IDs
|
| `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
|
| `lock_state` | `True` | string | New state to change the flap to
|
||||||
|
|
||||||
|
The `flap_id` can be found following these instructions:
|
||||||
|
|
||||||
|
- Log into [surepetcare.io](https://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:
|
`lock_state` should be one of:
|
||||||
|
|
||||||
- `unlocked` - flap is unlocked, pets are allowed both in and out.
|
- `unlocked` - flap is unlocked, pets are allowed both in and out.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user