Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 3, 2025
1 parent 85e4453 commit 207447a
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions custom_components/ipv64/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@

import logging

import voluptuous as vol

from homeassistant import config_entries
from homeassistant.const import Platform
from homeassistant.core import HomeAssistant, ServiceCall
from homeassistant.helpers.typing import ConfigType
import voluptuous as vol

from .const import DATA_HASS_CONFIG, DATA_SCHEMA, DOMAIN, SERVICE_REFRESH
from .coordinator import IPv64DataUpdateCoordinator
Expand Down
3 changes: 1 addition & 2 deletions custom_components/ipv64/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
import logging

import aiohttp
import voluptuous as vol

from homeassistant import config_entries, core
from homeassistant.const import CONF_DOMAIN, CONF_SCAN_INTERVAL, CONF_TOKEN
from homeassistant.data_entry_flow import FlowResult
Expand All @@ -19,6 +17,7 @@
NumberSelectorConfig,
NumberSelectorMode,
)
import voluptuous as vol

from .const import (
CONF_API_ECONOMY,
Expand Down
3 changes: 1 addition & 2 deletions custom_components/ipv64/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

from typing import Final

import voluptuous as vol

from homeassistant.const import CONF_DOMAIN, CONF_SCAN_INTERVAL, CONF_TOKEN
from homeassistant.helpers.selector import (
BooleanSelector,
Expand All @@ -17,6 +15,7 @@
TextSelectorConfig,
TextSelectorType,
)
import voluptuous as vol

CONF_API_KEY: Final = "apikey"
CONF_API_ECONOMY: Final = "api_key_economy"
Expand Down
1 change: 0 additions & 1 deletion custom_components/ipv64/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import logging

import aiohttp

from homeassistant.config_entries import ConfigEntry
from homeassistant.const import (
CONF_DOMAIN,
Expand Down
2 changes: 1 addition & 1 deletion hacs.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
"homeassistant": "2024.12.5",
"hacs": "2.0.1",
"filename": "ipv64.zip"
}
}

0 comments on commit 207447a

Please sign in to comment.