mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
correct Optional for location_name (#18353)
given these posts: https://community.home-assistant.io/t/how-to-create-a-custom-device-tracker-from-gps-coordinates/142971/6 https://community.home-assistant.io/t/create-mqtt-device-tracker-based-on-individual-mqtt-lat-lon-sensors/319059/5 clearly show the attribute is optional
This commit is contained in:
parent
11d1399f2b
commit
eeda9bab87
@ -105,7 +105,7 @@ The `device_tracker.see` service can be used to manually update the state of a d
|
||||
| Service data attribute | Optional | Description |
|
||||
| ---------------------- | -------- | ----------- |
|
||||
| `dev_id` | no | The `object_id`, for example `tardis` for `device_tracker.tardis` |
|
||||
| `location_name` | no | The location, `home`, `not_home`, or the name of the zone |
|
||||
| `location_name` | yes | The location, `home`, `not_home`, or the name of the zone |
|
||||
| `host_name` | yes | The hostname of the device tracker |
|
||||
| `mac` | yes | The MAC address of the entity (only specify if you're updating a network based tracker) |
|
||||
| `gps` | yes | If you're providing a location, for example `[51.513845, -0.100539]` |
|
||||
|
Loading…
x
Reference in New Issue
Block a user