example-custom-config icon indicating copy to clipboard operation
example-custom-config copied to clipboard

Replace @asyncio.coroutine and add cv.empty_config_schema

Open shannonfritz opened this issue 1 year ago • 1 comments

@asyncio.coroutine was removed in Python 3.11, replaced with async def https://docs.python.org/3.10/library/asyncio-task.html#asyncio.coroutine

The component does not have any config options, so using cv.empty_config_schema to ensure it passes validation.

shannonfritz avatar Sep 14 '23 15:09 shannonfritz