diff --git a/docs/core/entity/device-tracker.md b/docs/core/entity/device-tracker.md index 486d5d4f..da13ab48 100644 --- a/docs/core/entity/device-tracker.md +++ b/docs/core/entity/device-tracker.md @@ -21,14 +21,14 @@ Properties should always only return information from memory and not do I/O (lik ScannerEntity does not support attribute shorthand for [property implementation](../entity.md#entity-class-or-instance-attributes) ::: -| Name | Type | Default | Description | -| ------------- | ------- | ------------ | ------------------------------------------------- | -| source_type | SourceType | **Required** | The source type, eg `gps` or `router`, of the device. | -| is_connected | boolean | **Required** | The connection state of the device. | -| battery_level | integer | `None` | The battery level of the device. | -| ip_address | string | `None` | The IP address of the device. | -| mac_address | string | `None` | The MAC address of the device. | -| hostname | string | `None` | The hostname of the device. | +| Name | Type | Default | Description | +| ------------- | ---------------------------- | ------------ | ----------------------------------------------------- | +| battery_level | int | None | `None` | The battery level of the device. | +| hostname | str | None | `None` | The hostname of the device. | +| ip_address | str | None | `None` | The IP address of the device. | +| is_connected | `bool` | **Required** | The connection state of the device. | +| mac_address | str | None | `None` | The MAC address of the device. | +| source_type | `SourceType` | **Required** | The source type, eg `gps` or `router`, of the device. | ### DHCP discovery @@ -52,11 +52,11 @@ Properties should always only return information from memory and not do I/O (lik TrackerEntity does not support attribute shorthand for [property implementation](../entity.md#entity-class-or-instance-attributes) ::: -| Name | Type | Default | Description | -| ----------------- | ------- | ------------ | ------------------------------------------------- | -| source_type | SourceType | **Required** | The source type, eg `gps` or `router`, 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. | +| Name | Type | Default | Description | +| ----------------- | ------------------------------ | ------------ | ----------------------------------------------------- | +| battery_level | int | None | `None` | The battery level of the device. | +| latitude | float | None | **Required** | The latitude coordinate of the device. | +| location_accuracy | `int` | `0` | The location accuracy (m) of the device. | +| location_name | str | None | `None` | The location name of the device. | +| longitude | float | None | **Required** | The longitude coordinate of the device. | +| source_type | SourceType | **Required** | The source type, eg `gps` or `router`, of the device. |