-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make platform setup a coroutine #22620
Conversation
According to @MartinHjelmare's comment #22417 (comment) |
Make sure you have no IO on initial process for them |
Co-Authored-By: fredrike <fredrik.e@gmail.com>
All of them are deprecated and are just there for backwards compatibilities ( I don't know how long they are supposed to be there though (both Daikin and Telldus Live are configured via the Config flow). |
Until the EntityPlatform helper is made to handle platforms without this function, we need to keep it around. |
Can be merged when build passes. |
* make setup_platform a coroutine * Update homeassistant/components/tellduslive/sensor.py Co-Authored-By: fredrike <fredrik.e@gmail.com>
Description:
Make platform setup a coroutine.
Checklist:
tox
. Your PR cannot be merged unless tests passIf user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
REQUIREMENTS
variable (example).requirements_all.txt
by runningscript/gen_requirements_all.py
..coveragerc
.If the code does not interact with devices: