1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-23 12:29:55 +00:00

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

@@ -3,6 +3,7 @@ import os
import json
import logging
import homekit
import voluptuous as vol
from homeassistant import config_entries
@@ -62,8 +63,6 @@ class HomekitControllerFlowHandler(config_entries.ConfigFlow):
def __init__(self):
"""Initialize the homekit_controller flow."""
import homekit # pylint: disable=import-error
self.model = None
self.hkid = None
self.devices = {}
@@ -224,8 +223,6 @@ class HomekitControllerFlowHandler(config_entries.ConfigFlow):
async def async_step_pair(self, pair_info=None):
"""Pair with a new HomeKit accessory."""
import homekit # pylint: disable=import-error
# If async_step_pair is called with no pairing code then we do the M1
# phase of pairing. If this is successful the device enters pairing
# mode.