mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
surepetcare.set_pet_location (#19416)
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
4ec3196be3
commit
270be19603
@ -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_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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user