Skip to content
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
4 changes: 4 additions & 0 deletions custom_components/blanco_unit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
ConfigEntryNotReady,
IntegrationError,
)
from homeassistant.helpers import config_validation as cv

from .client import validate_pin
from .const import (
Expand Down Expand Up @@ -53,6 +54,9 @@

type BlancoUnitConfigEntry = ConfigEntry[BlancoUnitCoordinator]

# set up through config entries only, async_setup only registers the services
CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN)


async def async_setup(hass: HomeAssistant, entry: BlancoUnitConfigEntry) -> bool:
"""Set up Blanco Unit integration services."""
Expand Down
2 changes: 1 addition & 1 deletion custom_components/blanco_unit/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"integration_type": "device",
"iot_class": "local_polling",
"issue_tracker": "https://github.com/Nailik/blanco_unit/issues",
"requirements": ["bleak>=0.21.1"],
"requirements": [],
"version": "0.0.13"
}
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,6 @@ ignore = [

"TRY003", # Avoid specifying long messages outside the exception class
"TRY400", # Use `logging.exception` instead of `logging.error`
# Ignored due to performance: https://github.com/charliermarsh/ruff/issues/2923
"UP038", # Use `X | Y` in `isinstance` call instead of `(X, Y)`
"UP046", # Non PEP 695 generic class
"UP047", # Non PEP 696 generic function
"UP049", # Avoid private type parameter names
Expand Down
Loading