Given:
Plain new hass.io installation and existing TracCar instance (fully functional on different machine).
Tested with API that correct data is being returned by my TracCar instance.
Expectation:
Devices from TracCar are being created in known_devices.yaml and location track data arriving
Actual:
Following errors inside components/device_tracker/init.py
WARNING (MainThread) [homeassistant.components.device_tracker] Could not parse gps value for name: ('latitude', 'longitude')
My configuration.yaml
device_tracker:
- platform: traccar
host: [MY TRACCAR HOSTNNAME]
port: 443
ssl: true
username: [MY TRACCAR USERNAME]
password: [MY TRACCAR PASSWORD]
new_device_defaults:
track_new_devices: true
hide_if_away: false
Data being created inside known_devices.yaml
name:
hide_if_away: false
icon:
mac:
name: name
picture:
track: true
What am I missing?
UPDATE:
It looks like there are more issues with this component:
Here what is happening when event is arriving
ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/homeassistant/components/traccar/device_tracker.py", line 198, in import_events 'traccar_' + self._event_types.get(event["type"]), { TypeError: can only concatenate str (not "NoneType") to str