From eeda9bab8714a56e6df19a892937be328aec26f2 Mon Sep 17 00:00:00 2001 From: Marius <33354141+Mariusthvdb@users.noreply.github.com> Date: Wed, 30 Jun 2021 15:04:50 +0200 Subject: [PATCH] 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 --- source/_integrations/device_tracker.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/device_tracker.markdown b/source/_integrations/device_tracker.markdown index 6e546f8f8df..d9de481051f 100644 --- a/source/_integrations/device_tracker.markdown +++ b/source/_integrations/device_tracker.markdown @@ -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]` |