Update file header (#21023)

* Update file header

* Update file header

* Update file header

* Update file header

* Update file header

* Fix lint issues
This commit is contained in:
Fabian Affolter authored and GitHub committed 2019-02-13 21:21:14 +01:00
1 parent 22af9707ad
commit 127c55e0c1
492 files changed
+1015 -3497

No files matched your search

+2 -8
View File
@@ -1,10 +1,4 @@
"""
Support for devices connected to UniFi POE.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/switch.unifi/
"""
"""Support for devices connected to UniFi POE."""
import asyncio
import logging
@@ -39,7 +33,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
"""
controller_id = CONTROLLER_ID.format(
host=config_entry.data[CONF_CONTROLLER][CONF_HOST],
site=config_entry.data[CONF_CONTROLLER][CONF_SITE_ID]
site=config_entry.data[CONF_CONTROLLER][CONF_SITE_ID],
)
controller = hass.data[unifi.DOMAIN][controller_id]
switches = {}