From 8777606c6f9a53b6de874c16f3f82834b1f625bb Mon Sep 17 00:00:00 2001 From: Robert Svensson Date: Mon, 4 Mar 2024 21:40:13 +0100 Subject: [PATCH] Remove callback decorator from coroutine (#112276) --- homeassistant/components/unifi/button.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/homeassistant/components/unifi/button.py b/homeassistant/components/unifi/button.py index 85cd6c94c74..545bb08a85a 100644 --- a/homeassistant/components/unifi/button.py +++ b/homeassistant/components/unifi/button.py @@ -40,7 +40,6 @@ from .entity import ( from .hub import UnifiHub -@callback async def async_restart_device_control_fn( api: aiounifi.Controller, obj_id: str ) -> None: @@ -48,7 +47,6 @@ async def async_restart_device_control_fn( await api.request(DeviceRestartRequest.create(obj_id)) -@callback async def async_power_cycle_port_control_fn( api: aiounifi.Controller, obj_id: str ) -> None: