mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Update peblar to v0.3.2 (#134524)
This commit is contained in:
parent
b78e39da2d
commit
06580ce10f
@ -7,6 +7,6 @@
|
|||||||
"integration_type": "device",
|
"integration_type": "device",
|
||||||
"iot_class": "local_polling",
|
"iot_class": "local_polling",
|
||||||
"quality_scale": "platinum",
|
"quality_scale": "platinum",
|
||||||
"requirements": ["peblar==0.3.1"],
|
"requirements": ["peblar==0.3.2"],
|
||||||
"zeroconf": [{ "type": "_http._tcp.local.", "name": "pblr-*" }]
|
"zeroconf": [{ "type": "_http._tcp.local.", "name": "pblr-*" }]
|
||||||
}
|
}
|
||||||
|
@ -27,8 +27,9 @@ PARALLEL_UPDATES = 1
|
|||||||
class PeblarUpdateEntityDescription(UpdateEntityDescription):
|
class PeblarUpdateEntityDescription(UpdateEntityDescription):
|
||||||
"""Describe an Peblar update entity."""
|
"""Describe an Peblar update entity."""
|
||||||
|
|
||||||
installed_fn: Callable[[PeblarVersionInformation], str | None]
|
|
||||||
available_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, ...] = (
|
DESCRIPTIONS: tuple[PeblarUpdateEntityDescription, ...] = (
|
||||||
@ -41,8 +42,9 @@ DESCRIPTIONS: tuple[PeblarUpdateEntityDescription, ...] = (
|
|||||||
PeblarUpdateEntityDescription(
|
PeblarUpdateEntityDescription(
|
||||||
key="customization",
|
key="customization",
|
||||||
translation_key="customization",
|
translation_key="customization",
|
||||||
installed_fn=lambda x: x.current.customization,
|
|
||||||
available_fn=lambda x: x.available.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,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1615,7 +1615,7 @@ panasonic-viera==0.4.2
|
|||||||
pdunehd==1.3.2
|
pdunehd==1.3.2
|
||||||
|
|
||||||
# homeassistant.components.peblar
|
# homeassistant.components.peblar
|
||||||
peblar==0.3.1
|
peblar==0.3.2
|
||||||
|
|
||||||
# homeassistant.components.peco
|
# homeassistant.components.peco
|
||||||
peco==0.0.30
|
peco==0.0.30
|
||||||
|
@ -1342,7 +1342,7 @@ panasonic-viera==0.4.2
|
|||||||
pdunehd==1.3.2
|
pdunehd==1.3.2
|
||||||
|
|
||||||
# homeassistant.components.peblar
|
# homeassistant.components.peblar
|
||||||
peblar==0.3.1
|
peblar==0.3.2
|
||||||
|
|
||||||
# homeassistant.components.peco
|
# homeassistant.components.peco
|
||||||
peco==0.0.30
|
peco==0.0.30
|
||||||
|
Loading…
x
Reference in New Issue
Block a user