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

Public release #6

Merged
merged 1 commit into from
Oct 9, 2023
Merged
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/webastoconnect/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
from homeassistant.const import CONF_EMAIL, CONF_PASSWORD
from homeassistant.core import HomeAssistant
from homeassistant.loader import async_get_integration
from pywebasto.exceptions import UnauthorizedException

from .api import WebastoConnector, WebastoConnectUpdateCoordinator
from .const import ATTR_COORDINATOR, DOMAIN, PLATFORMS, STARTUP
from .pywebasto.exceptions import UnauthorizedException

LOGGER = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion custom_components/webastoconnect/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
from homeassistant.const import CONF_EMAIL, CONF_PASSWORD
from homeassistant.core import HomeAssistant
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator
from pywebasto import WebastoConnect

from .const import DOMAIN
from .pywebasto import WebastoConnect

SCAN_INTERVAL = timedelta(seconds=30)
LOGGER = logging.getLogger(__name__)
Expand Down
3 changes: 1 addition & 2 deletions custom_components/webastoconnect/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
from homeassistant.components.number import NumberEntityDescription
from homeassistant.components.sensor import SensorEntityDescription
from homeassistant.components.switch import SwitchEntityDescription

from .pywebasto import WebastoConnect
from pywebasto import WebastoConnect


@dataclass
Expand Down
6 changes: 3 additions & 3 deletions custom_components/webastoconnect/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

import logging
from typing import Any

import voluptuous as vol
from homeassistant import config_entries
from homeassistant.const import CONF_EMAIL, CONF_PASSWORD

from .pywebasto.exceptions import UnauthorizedException
from .pywebasto import WebastoConnect
from pywebasto import WebastoConnect
from pywebasto.exceptions import UnauthorizedException

from .const import DOMAIN

Expand Down
4 changes: 3 additions & 1 deletion custom_components/webastoconnect/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
"documentation": "https://github.com/MTrab/webastoconnect/blob/master/README.md",
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/MTrab/webastoconnect/issues",
"requirements": [],
"requirements": [
"pywebasto==0.1.0"
],
"version": "0.0.1b3"
}
330 changes: 0 additions & 330 deletions custom_components/webastoconnect/pywebasto/__init__.py

This file was deleted.

Loading
Loading