Bump aiounifi to v35 (#79040)

* Update imports
Replace constants with enums

* Import new request objects

* Bump aiounifi to v35
This commit is contained in:
Robert Svensson 2022-09-25 20:08:56 +02:00 committed by GitHub
parent 42bd664305
commit bfd12730f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 98 additions and 84 deletions

View file

@ -1,9 +1,19 @@
"""Constants for the UniFi Network integration."""
import logging
from homeassistant.const import Platform
LOGGER = logging.getLogger(__package__)
DOMAIN = "unifi"
PLATFORMS = [
Platform.DEVICE_TRACKER,
Platform.SENSOR,
Platform.SWITCH,
Platform.UPDATE,
]
CONF_CONTROLLER = "controller"
CONF_SITE_ID = "site"