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 ![:frowning: :frowning:](https://community.home-assistant.io/images/emoji/twitter/frowning.png?v=9)
EDIT: works fine sorry ![:slight_smile: :slight_smile:](https://community.home-assistant.io/images/emoji/twitter/slight_smile.png?v=9)