UniFi Device command helper class.
Definition at line 117 of file entity_helper.py.
◆ __init__()
| None homeassistant.components.unifi.hub.entity_helper.UnifiDeviceCommand.__init__ |
( |
|
self, |
|
|
HomeAssistant |
hass, |
|
|
aiounifi.Controller |
api |
|
) |
| |
◆ queue_poe_command()
| None homeassistant.components.unifi.hub.entity_helper.UnifiDeviceCommand.queue_poe_command |
( |
|
self, |
|
|
str |
device_id, |
|
|
int |
port_idx, |
|
|
str |
poe_mode |
|
) |
| |
Queue commands to execute them together per device.
Definition at line 138 of file entity_helper.py.
◆ reset()
| None homeassistant.components.unifi.hub.entity_helper.UnifiDeviceCommand.reset |
( |
|
self | ) |
|
◆ _cancel_command
| homeassistant.components.unifi.hub.entity_helper.UnifiDeviceCommand._cancel_command |
|
private |
◆ api
| homeassistant.components.unifi.hub.entity_helper.UnifiDeviceCommand.api |
◆ COMMAND_DELAY
| int homeassistant.components.unifi.hub.entity_helper.UnifiDeviceCommand.COMMAND_DELAY = 5 |
|
static |
◆ hass
| homeassistant.components.unifi.hub.entity_helper.UnifiDeviceCommand.hass |
The documentation for this class was generated from the following file: