Giter VIP home page Giter VIP logo

homeassistant-switchbot-cloud's People

Contributors

eabruzzese avatar

Watchers

 avatar  avatar  avatar

homeassistant-switchbot-cloud's Issues

Install error: Blocking calls

Home Assistant 2022.11.2
Supervisor 2022.10.2
Operating System 9.3
Frontend 20221108.0 - latest

After adding the custom repository via HACS and installing the integration using the wizard, the following error comes up:

2022-11-14 18:04:58.120 WARNING (MainThread) [homeassistant.util.async_] Detected blocking call to putrequest inside the event loop. This is causing stability issues. Please report issue to the custom integration author for switchbot_cloud doing blocking calls at custom_components/switchbot_cloud/__init__.py, line 35: devices = [d for d in await hass.async_add_executor_job(switchbot.devices) if d.cloud_enabled]
2022-11-14 18:04:58.131 WARNING (MainThread) [homeassistant.config_entries] Config entry 'SwitchBot Cloud' for switchbot_cloud integration could not authenticate: Blocking calls must be done in the executor or a separate thread; Use `await hass.async_add_executor_job()`; at custom_components/switchbot_cloud/__init__.py, line 35: devices = [d for d in await hass.async_add_executor_job(switchbot.devices) if d.cloud_enabled]
2022-11-14 18:05:14.277 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 225, in async_init
flow, result = await task
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 252, in _async_init
result = await self._async_handle_step(flow, flow.init_step, data, init_done)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 362, in _async_handle_step
raise UnknownStep(
homeassistant.data_entry_flow.UnknownStep: Handler ConfigFlow doesn't support step reauth

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.