Invalid configuration sonoff integration

I recently installed hacs and have been trying to add my sonoff light switch to my dashboard in home assistant. Im following this tutorial here.

After installing hacs via the script and creating the integration, which took me to my github account for authentication, Im on step 4 where i have to restart home assistant. I usually do this by going to Configuration > General and click on Check Configuration, but it comes back invalid. I managed to get this from the logs:
Screen Shot 2021-07-25 at 10.53.33 AM

What would be the next step in getting rid of this error so i can restart my server and continue with SonoffLAN?

Comment out the part that you added to configuration.yaml, restart HA, and then uncomment it. The config check is failing because HA hasn’t loaded the new integration yet.

1 Like

great thanks. that worked.