Update homekit_controller import style (#25940)

This commit is contained in:
Jc2k
2019-08-14 17:14:15 +01:00
committed by Paulus Schoutsen
parent d8e2518e0d
commit 002f74c76b
9 changed files with 24 additions and 52 deletions

View File

@@ -1,6 +1,8 @@
"""Support for Homekit lights."""
import logging
from homekit.model.characteristics import CharacteristicsTypes
from homeassistant.components.light import (
ATTR_BRIGHTNESS,
ATTR_COLOR_TEMP,
@@ -50,9 +52,6 @@ class HomeKitLight(HomeKitEntity, Light):
def get_characteristic_types(self):
"""Define the homekit characteristics the entity cares about."""
# pylint: disable=import-error
from homekit.model.characteristics import CharacteristicsTypes
return [
CharacteristicsTypes.ON,
CharacteristicsTypes.BRIGHTNESS,