Skip to content

Commit

Permalink
Cleanup unused imports and isort.
Browse files Browse the repository at this point in the history
  • Loading branch information
RenierM26 committed May 1, 2022
1 parent c7b56eb commit 4e12176
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 16 deletions.
7 changes: 3 additions & 4 deletions custom_components/ids_hyyp/__init__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
"""Support for Ezviz camera."""
"""Support for IDS Hyyp Alarm."""
from __future__ import annotations

import logging

from homeassistant.config_entries import ConfigEntry
from homeassistant.const import ATTR_CODE, CONF_TIMEOUT, CONF_TOKEN, Platform
from homeassistant.const import CONF_TIMEOUT, CONF_TOKEN, Platform
from homeassistant.core import HomeAssistant
from homeassistant.exceptions import ConfigEntryAuthFailed, ConfigEntryNotReady
from pyhyypapi import HTTPError, HyypApiError, HyypClient, InvalidURL
from pyhyypapi import HyypClient

from .const import (
ATTR_ARM_CODE,
Expand Down
7 changes: 1 addition & 6 deletions custom_components/ids_hyyp/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,7 @@
import voluptuous as vol

from homeassistant.config_entries import ConfigEntry, ConfigFlow, OptionsFlow
from homeassistant.const import (
CONF_EMAIL,
CONF_PASSWORD,
CONF_TIMEOUT,
CONF_TOKEN,
)
from homeassistant.const import CONF_EMAIL, CONF_PASSWORD, CONF_TIMEOUT, CONF_TOKEN
from homeassistant.core import callback
from homeassistant.data_entry_flow import FlowResult
from pyhyypapi.client import HyypClient
Expand Down
7 changes: 1 addition & 6 deletions custom_components/ids_hyyp/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@
from homeassistant.helpers.entity_platform import AddEntitiesCallback
from pyhyypapi.exceptions import HTTPError, HyypApiError

from .const import (
ATTR_BYPASS_CODE,
DATA_COORDINATOR,
DOMAIN,
SERVICE_BYPASS_ZONE,
)
from .const import ATTR_BYPASS_CODE, DATA_COORDINATOR, DOMAIN, SERVICE_BYPASS_ZONE
from .coordinator import HyypDataUpdateCoordinator
from .entity import HyypEntity

Expand Down

0 comments on commit 4e12176

Please sign in to comment.