Add instructions to get the flap_id (#24475)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Victor 2022-10-10 15:24:41 +01:00 committed by GitHub
parent ed642f930e
commit e1d3f69f6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,9 +32,15 @@ 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 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
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:
- `unlocked` - flap is unlocked, pets are allowed both in and out.