Skip to content
This repository was archived by the owner on Jul 7, 2024. It is now read-only.
This repository was archived by the owner on Jul 7, 2024. It is now read-only.

Convert integration to real async io #23

Description

@lyricnz

Is your feature request related to a problem? Please describe.
While investigating #22 it became apparently that tplink_ess is doing a lot of (blocking) io in the event loop in HA, which will be impacting overall HA responsiveness.

Describe the solution you'd like
This integration should be converted to real asyncio, though this may require changes to the downstream library.

Describe alternatives you've considered
hass.async_add_executor_job() could be a stop-gap

See https://developers.home-assistant.io/docs/asyncio_working_with_async/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions