Skip to content

Commit

Permalink
Merge pull request #6 from MTrab:Official-release
Browse files Browse the repository at this point in the history
Public release
  • Loading branch information
MTrab authored Oct 9, 2023
2 parents 3acc7f2 + fc13b18 commit 738e9c4
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 380 deletions.
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

0 comments on commit 738e9c4

Please sign in to comment.