UniFi - Fix issue with POE switch reset switch config (#20021)

* Fix issue when controlling POE would reset configuration for all other ports on same device
This commit is contained in:
Robert Svensson 2019-01-12 17:59:44 +01:00 committed by GitHub
parent eabc7b22cd
commit d3f2854c89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ DEFAULT_PORT = 8443
DEFAULT_SITE_ID = 'default' DEFAULT_SITE_ID = 'default'
DEFAULT_VERIFY_SSL = False DEFAULT_VERIFY_SSL = False
REQUIREMENTS = ['aiounifi==3'] REQUIREMENTS = ['aiounifi==4']
async def async_setup(hass, config): async def async_setup(hass, config):

View File

@ -127,7 +127,7 @@ aiolifx_effects==0.2.1
aiopvapi==1.6.14 aiopvapi==1.6.14
# homeassistant.components.unifi # homeassistant.components.unifi
aiounifi==3 aiounifi==4
# homeassistant.components.cover.aladdin_connect # homeassistant.components.cover.aladdin_connect
aladdin_connect==0.3 aladdin_connect==0.3

View File

@ -41,7 +41,7 @@ aiohttp_cors==0.7.0
aiohue==1.5.0 aiohue==1.5.0
# homeassistant.components.unifi # homeassistant.components.unifi
aiounifi==3 aiounifi==4
# homeassistant.components.notify.apns # homeassistant.components.notify.apns
apns2==0.3.0 apns2==0.3.0

View File

@ -109,7 +109,7 @@ DEVICE_1 = {
'mac': '00:00:00:00:01:01', 'mac': '00:00:00:00:01:01',
'type': 'usw', 'type': 'usw',
'name': 'mock-name', 'name': 'mock-name',
'portconf_id': '', 'port_overrides': [],
'port_table': [ 'port_table': [
{ {
'media': 'GE', 'media': 'GE',