surepetcare.set_pet_location (#19416)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Daniel Hjelseth Høyer 2021-09-22 19:55:30 +02:00 committed by GitHub
parent 4ec3196be3
commit 270be19603
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,3 +38,17 @@ This service lets you change the locking state of a flap.
- `locked_in` - flap is 'in only' - pets can come in but not go back 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_out` - flap is 'out only' - pets can go out, but not back in.
- `locked_all` - flap is locked both ways. - `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.