j1nx / homeassistant-phonetrack

PhoneTrack custom device_tracker component for Home Assistant.
Apache License 2.0
29 stars 15 forks source link

Component error: device-tracker - Integration device-tracker not found. (home-assistant v0.98.5) #1

Closed palica closed 4 years ago

palica commented 4 years ago

Hello,

I am getting the error message from title when running "Check config" and this notice upon start up:

Invalid config

The following components and platforms could not be set up:
    device-tracker
Please check your config.

Here is my config:

device-tracker:   
  - platform: phonetrack
    url: https://cloud.my.cloud/index.php/apps/phonetrack/api/getlastpositions/
    token: xx23xx82exxeexx7exx28xx20xxd4xxx

    devices:
    - My-device

I have copied the files to custom_components direcotry under /usr/share/hassio/homeassistant

Is the component working correctly with latest HA? I have read somewhere in the developer manuals that the component has to define DOMAIN variable.

Please let me know if I am doing anything wrong. Thanks for help.

palica commented 4 years ago

ok, my bad device-tracker => device_tracker and all works