peterbuga / HASS-sonoff-ewelink

Home Assistant component to control Sonoff/eWeLink devices with original firmware
MIT License
797 stars 294 forks source link

Sonoff invalid config after 0.100.1 update #162

Closed martusi61 closed 5 years ago

martusi61 commented 5 years ago

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_coroutinethreadsafe' from 'homeassistant.util.async' (/usr/src/homeassistant/homeassistant/util/async_.py)

The sonoff switch is not available.

naamah75 commented 5 years ago

Same issue here.

superjasiek commented 5 years ago

Same here :-( fortunately could rollback

vasil-d commented 5 years ago

same here, but after update of the component and restart all is working again

Bettinaglio commented 5 years ago

Install the new versions from here, install it in the custom_components/sonoff, and all will work as it should (done today, works like a charm).

martusi61 commented 5 years ago

Peter Buga wrote me:

“you need to upgrade the sonoff component to the latest version: GitHub peterbuga/HASS-sonoff-ewelink Simple Home Assistant component to control Sonoff/eWeLink smart devices - peterbuga/HASS-sonoff-ewelink run_coroutinethreadsafe was removed from util.async, the updated version now uses asyncio”

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

primalnow commented 5 years ago

@peterbuga

I am trying to make use of https://github.com/skydiver/ewelink-api.

Seems this API is suffering from the same problem. Can you please let me know what exactly was changed by EWLINK?

peterbuga commented 5 years ago

yes, something changed ;)

primalnow commented 5 years ago

Lol. How about letting me know in private, how to fix it? 😁 😁

On Wed, Oct 16, 2019, 11:20 PM Peter Buga notifications@github.com wrote:

yes, something changed ;)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/peterbuga/HASS-sonoff-ewelink/issues/162?email_source=notifications&email_token=AGHTZ7KFIGP66LHDSHBDTYLQO5LNHA5CNFSM4I7SO2P2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBNOTCQ#issuecomment-542828938, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGHTZ7PABO3FMXI6WL6VMCDQO5LNHANCNFSM4I7SO2PQ .