Set device_tracker latitude/longitude Type as float (#1467)

This commit is contained in:
Robert Drinovac 2022-09-14 08:40:35 -04:00 committed by GitHub
parent 08aa16134f
commit dd9cb2a28f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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. |