From 25ed81b5ca985c5cb71a8aeecf03d3ffe0bbbe39 Mon Sep 17 00:00:00 2001 From: Christophe Painchaud Date: Mon, 6 Mar 2023 15:03:30 +0100 Subject: [PATCH] removed outdated decorator @asyncio.coroutine for later python compatibility --- custom_components/reolink_dev/sensor.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/custom_components/reolink_dev/sensor.py b/custom_components/reolink_dev/sensor.py index cf6cff2..8744503 100644 --- a/custom_components/reolink_dev/sensor.py +++ b/custom_components/reolink_dev/sensor.py @@ -28,8 +28,6 @@ _LOGGER = logging.getLogger(__name__) - -@asyncio.coroutine async def async_setup_entry(hass: HomeAssistant, config_entry, async_add_devices): """Set up the Reolink IP Camera switches.""" devices = []