Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update documentation with instructions for custom attributes #38404

Open
@jrb80

Description

@jrb80

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.

Image

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

Metadata

Metadata

Assignees

Labels

StaleThe PR had no activity for quite some time, and is marked as Staleintegration: traccar_server

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions