Missing [injected] entities from API

Entities that show in HASS doesn’t show via API / hass-cli

  • I’m using hass-cli which in turn uses the official API.
  • HASSIO on RPI3b+, latest version of everything as of today 27-aug-19.

Entities from two components, the Sonoff component that works with the stock firmware, and device_tracker for my car (TMX), show up as entities in dev console, but not from the API.

I’ve learned from the developer of the Sonoff component that he does what everybody does, which is injecting the entity. I don’t know what this means, but what happens is that the Sonoff switches and the device_tracker for my car doesn’t show up in the hass-cli/API.

hass-cli --server https://X.duckdns.org --token XYZ  --insecure --output json --verbose --debug entity list | grep -i switch

hass-cli --server https://X.duckdns.org --token XYZ  --insecure --output table --verbose --debug entity list | grep -i switch

hass-cli --server https://X.duckdns.org --token XYZ  --insecure --output json --verbose --debug device list | grep -i device_tracker

hass-cli --server https://X.duckdns.org --token XYZ  --insecure --output table --verbose --debug device list | grep -i device_tracker

See the component github issue I’ve filed, but we’re not getting any progress.

Tips? What more output/config is needed for someone to see what’s wrong?