Open
Description
Feedback
I didn't realise this integration supports custom attributes until I stumbled upon it under the "configure" menu. I believe a section in the documentation should be created for this feature as it's so useful. I've included a snip of my configuration for reference.
It may be also useful to show a template example to create a sensor from the custom attribute, for example;
Ignition
binary_sensor:
- name: "Traccar Mercedes Ignition"
unique_id: traccar_mercedes_ignition
icon: mdi:car-key
state: "{{ state_attr('device_tracker.traccar_mercedes', 'ignition') }}"
Mileage
sensor:
- name: "Traccar Mercedes Odometer"
unique_id: traccar_mercedes_odometer
icon: mdi:counter
state: "{{ state_attr('device_tracker.traccar_mercedes', 'odometer') }}"
URL
https://www.home-assistant.io/integrations/traccar_server/
Version
2025.4.1
Additional information
No response