mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 17:27:52 +00:00
Remove callback decorator from coroutine (#112276)
This commit is contained in:
parent
59df20f1d4
commit
8777606c6f
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user