mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 03:35:09 +02:00
Remove callback decorator from coroutine (#112276)
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user