From dd9cb2a28f0bc05658a3c3974a944ce2547e24e3 Mon Sep 17 00:00:00 2001 From: Robert Drinovac <52541649+RobertD502@users.noreply.github.com> Date: Wed, 14 Sep 2022 08:40:35 -0400 Subject: [PATCH] Set device_tracker latitude/longitude Type as float (#1467) --- docs/core/entity/device-tracker.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/core/entity/device-tracker.md b/docs/core/entity/device-tracker.md index df933bce..486d5d4f 100644 --- a/docs/core/entity/device-tracker.md +++ b/docs/core/entity/device-tracker.md @@ -55,8 +55,8 @@ TrackerEntity does not support attribute shorthand for [property implementation] | Name | Type | Default | Description | | ----------------- | ------- | ------------ | ------------------------------------------------- | | source_type | SourceType | **Required** | The source type, eg `gps` or `router`, of the device. | -| latitude | string | **Required** | The latitude coordinate of the device. | -| longitude | string | **Required** | The longitude coordinate of the device. | +| latitude | float | **Required** | The latitude coordinate of the device. | +| longitude | float | **Required** | The longitude coordinate of the device. | | battery_level | integer | `None` | The battery level of the device. | | location_accuracy | integer | `None` | The location accuracy (m) of the device. | | location_name | string | `None` | The location name of the device. |