Remove callback decorator from coroutine (#112276)

This commit is contained in:
Robert Svensson 2024-03-04 21:40:13 +01:00 committed by GitHub
parent 59df20f1d4
commit 8777606c6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: