martusi
(Maurizio Artusi)
1
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?
martusi
(Maurizio Artusi)
3
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.
SeByDocKy
(SeBy DocKy)
5
I still have problem even with the update …
I did probably something wrong
EDIT: works fine sorry