Update peblar to v0.3.2 (#134524)

This commit is contained in:
Franck Nijhof 2025-01-03 10:37:39 +01:00 committed by GitHub
parent b78e39da2d
commit 06580ce10f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 5 deletions

View File

@ -7,6 +7,6 @@
"integration_type": "device",
"iot_class": "local_polling",
"quality_scale": "platinum",
"requirements": ["peblar==0.3.1"],
"requirements": ["peblar==0.3.2"],
"zeroconf": [{ "type": "_http._tcp.local.", "name": "pblr-*" }]
}

View File

@ -27,8 +27,9 @@ PARALLEL_UPDATES = 1
class PeblarUpdateEntityDescription(UpdateEntityDescription):
"""Describe an Peblar update entity."""
installed_fn: Callable[[PeblarVersionInformation], str | None]
available_fn: Callable[[PeblarVersionInformation], str | None]
has_fn: Callable[[PeblarVersionInformation], bool] = lambda _: True
installed_fn: Callable[[PeblarVersionInformation], str | None]
DESCRIPTIONS: tuple[PeblarUpdateEntityDescription, ...] = (
@ -41,8 +42,9 @@ DESCRIPTIONS: tuple[PeblarUpdateEntityDescription, ...] = (
PeblarUpdateEntityDescription(
key="customization",
translation_key="customization",
installed_fn=lambda x: x.current.customization,
available_fn=lambda x: x.available.customization,
has_fn=lambda x: x.current.customization is not None,
installed_fn=lambda x: x.current.customization,
),
)

View File

@ -1615,7 +1615,7 @@ panasonic-viera==0.4.2
pdunehd==1.3.2
# homeassistant.components.peblar
peblar==0.3.1
peblar==0.3.2
# homeassistant.components.peco
peco==0.0.30

View File

@ -1342,7 +1342,7 @@ panasonic-viera==0.4.2
pdunehd==1.3.2
# homeassistant.components.peblar
peblar==0.3.1
peblar==0.3.2
# homeassistant.components.peco
peco==0.0.30