Bump dependency to v31 which makes has_relay more robust (#65180)
parent
98aa69fdaf
commit
c25431750e
|
@ -4,7 +4,7 @@
|
|||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/unifi",
|
||||
"requirements": [
|
||||
"aiounifi==30"
|
||||
"aiounifi==31"
|
||||
],
|
||||
"codeowners": [
|
||||
"@Kane610"
|
||||
|
|
|
@ -205,6 +205,7 @@ def add_outlet_entities(controller, async_add_entities, devices):
|
|||
or not (device := controller.api.devices[mac]).outlet_table
|
||||
):
|
||||
continue
|
||||
|
||||
for outlet in device.outlets.values():
|
||||
if outlet.has_relay:
|
||||
switches.append(UniFiOutletSwitch(device, controller, outlet.index))
|
||||
|
|
|
@ -269,7 +269,7 @@ aiosyncthing==0.5.1
|
|||
aiotractive==0.5.2
|
||||
|
||||
# homeassistant.components.unifi
|
||||
aiounifi==30
|
||||
aiounifi==31
|
||||
|
||||
# homeassistant.components.vlc_telnet
|
||||
aiovlc==0.1.0
|
||||
|
|
|
@ -204,7 +204,7 @@ aiosyncthing==0.5.1
|
|||
aiotractive==0.5.2
|
||||
|
||||
# homeassistant.components.unifi
|
||||
aiounifi==30
|
||||
aiounifi==31
|
||||
|
||||
# homeassistant.components.vlc_telnet
|
||||
aiovlc==0.1.0
|
||||
|
|
Loading…
Reference in New Issue