Create Update entities for Ubiquiti network devices (#71700)
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
This commit is contained in:
parent
32e4046435
commit
75058e63a4
6 changed files with 311 additions and 1 deletions
|
@ -14,6 +14,7 @@ from homeassistant.components.unifi.switch import (
|
|||
OUTLET_SWITCH,
|
||||
POE_SWITCH,
|
||||
)
|
||||
from homeassistant.components.unifi.update import DEVICE_UPDATE
|
||||
from homeassistant.const import Platform
|
||||
|
||||
from .test_controller import setup_unifi_integration
|
||||
|
@ -161,6 +162,9 @@ async def test_entry_diagnostics(hass, hass_client, aioclient_mock):
|
|||
POE_SWITCH: ["00:00:00:00:00:00"],
|
||||
OUTLET_SWITCH: [],
|
||||
},
|
||||
str(Platform.UPDATE): {
|
||||
DEVICE_UPDATE: ["00:00:00:00:00:01"],
|
||||
},
|
||||
},
|
||||
"clients": {
|
||||
"00:00:00:00:00:00": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue