Add selectors to device_tracker services (#49780)
This commit is contained in:
parent
fdadacd158
commit
046f02b7b8
1 changed files with 27 additions and 0 deletions
|
@ -1,26 +1,53 @@
|
|||
# Describes the format for available device tracker services
|
||||
|
||||
see:
|
||||
name: See
|
||||
description: Control tracked device.
|
||||
fields:
|
||||
mac:
|
||||
name: MAC address
|
||||
description: MAC address of device
|
||||
example: "FF:FF:FF:FF:FF:FF"
|
||||
selector:
|
||||
text:
|
||||
dev_id:
|
||||
name: Device ID
|
||||
description: Id of device (find id in known_devices.yaml).
|
||||
example: "phonedave"
|
||||
selector:
|
||||
text:
|
||||
host_name:
|
||||
name: Host name
|
||||
description: Hostname of device
|
||||
example: "Dave"
|
||||
selector:
|
||||
text:
|
||||
location_name:
|
||||
name: Location name
|
||||
description: Name of location where device is located (not_home is away).
|
||||
example: "home"
|
||||
selector:
|
||||
text:
|
||||
gps:
|
||||
name: GPS coordinates
|
||||
description: GPS coordinates where device is located (latitude, longitude).
|
||||
example: "[51.509802, -0.086692]"
|
||||
selector:
|
||||
object:
|
||||
gps_accuracy:
|
||||
name: GPS accuracy
|
||||
description: Accuracy of GPS coordinates.
|
||||
example: "80"
|
||||
selector:
|
||||
number:
|
||||
min: 1
|
||||
max: 100
|
||||
battery:
|
||||
name: Battery level
|
||||
description: Battery level of device.
|
||||
example: "100"
|
||||
selector:
|
||||
number:
|
||||
min: 0
|
||||
max: 100
|
||||
unit_of_measurement: "%"
|
||||
|
|
Loading…
Add table
Reference in a new issue