hass-core/homeassistant/components/device_tracker/services.yaml
Franck Nijhof 7468320860
Migrate device_tracker services to support translations (#96320)
* Migrate device_tracker services to support translations

* Tweaks

* Apply suggestions from code review

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>

---------

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2023-07-11 23:19:29 +02:00

36 lines
676 B
YAML

# Describes the format for available device tracker services
see:
fields:
mac:
example: "FF:FF:FF:FF:FF:FF"
selector:
text:
dev_id:
example: "phonedave"
selector:
text:
host_name:
example: "Dave"
selector:
text:
location_name:
example: "home"
selector:
text:
gps:
example: "[51.509802, -0.086692]"
selector:
object:
gps_accuracy:
selector:
number:
min: 1
max: 100
unit_of_measurement: "%"
battery:
selector:
number:
min: 0
max: 100
unit_of_measurement: "%"