Sonoff invalid config after 0.100.1 update

When I restart after upgrading to Home Assistant 0.100.1 I get:

Invalid config
The following components and platforms could not be set up:
sonoff
Please check your config.

After a configuration check:

Component error: sonoff - cannot import name ‘run_coroutine_threadsafe’ from ‘homeassistant.util.async_’ (/usr/src/homeassistant/homeassistant/util/async_.py)

The sonoff switch is not available. Does anyone know anything?

Same problem

Peter Buga wrote me:

“you need to upgrade the sonoff component to the latest version:


run_coroutine_threadsafe was removed from util.async_, the updated version now uses asyncio”

I did it, I restarted and the problem was solved.

1 Like

Updated the component to the latest version and sonoff issue is fixed for me.

I still have problem even with the update :frowning:
I did probably something wrong :frowning:

EDIT: works fine sorry :slight_smile: