Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔨 Update files by <github-actions[bot]> #164

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion custom_components/ecotrend_ista/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

import logging

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

from .const import DATA_HASS_CONFIG, DOMAIN
from .const_schema import DEFAULT_DATA_SCHEMA
Expand Down
4 changes: 2 additions & 2 deletions custom_components/ecotrend_ista/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
from types import MappingProxyType
from typing import Any

import requests
import voluptuous as vol
from homeassistant import config_entries, core
from homeassistant.const import CONF_EMAIL, CONF_PASSWORD
from homeassistant.data_entry_flow import FlowResult
Expand All @@ -16,8 +18,6 @@
)
from pyecotrend_ista.exception_classes import LoginError
from pyecotrend_ista.pyecotrend_ista import PyEcotrendIsta
import requests
import voluptuous as vol

from .const import CONF_MFA, CONF_UPDATE_INTERVAL, CONF_URL, DOMAIN, MANUFACTURER
from .const_schema import DATA_SCHEMA_EMAIL, URL_SELECTOR
Expand Down
2 changes: 1 addition & 1 deletion custom_components/ecotrend_ista/const_schema.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Const schema for ista EcoTrend Version 2."""
from __future__ import annotations

import voluptuous as vol
from homeassistant.const import CONF_EMAIL, CONF_PASSWORD, CONF_SCAN_INTERVAL
from homeassistant.helpers.selector import (
NumberSelector,
Expand All @@ -14,7 +15,6 @@
TextSelectorConfig,
TextSelectorType,
)
import voluptuous as vol

from .const import (
CONF_MFA,
Expand Down
4 changes: 2 additions & 2 deletions custom_components/ecotrend_ista/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
from __future__ import annotations

import datetime
from datetime import timedelta
import json
import logging
import os
from datetime import timedelta
from typing import Any

import requests
from homeassistant.config_entries import ConfigEntry
from homeassistant.core import HomeAssistant
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator
from pyecotrend_ista.helper_object_de import CustomRaw
from pyecotrend_ista.pyecotrend_ista import PyEcotrendIsta
import requests

from .config_flow import login_account
from .const import CONF_UPDATE_INTERVAL, DOMAIN
Expand Down
2 changes: 1 addition & 1 deletion custom_components/ecotrend_ista/sensor.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"""Support for reading status from ecotren-ists."""
from __future__ import annotations

from collections.abc import Callable
import datetime
import logging
from collections.abc import Callable
from typing import Any, cast

from homeassistant.components.sensor import RestoreSensor, SensorEntity
Expand Down
Loading