Copy-paste the following template into the Template Editor and let me know what it reports (if anything; I’m making a guess that your custom integration’s name is ‘sonoff’).
{{ integration_entities('sonoff') }}
Copy-paste the following template into the Template Editor and let me know what it reports (if anything; I’m making a guess that your custom integration’s name is ‘sonoff’).
{{ integration_entities('sonoff') }}