mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 17:27:52 +00:00
Omit Peblar update entities for most white label devices (#136374)
This commit is contained in:
parent
4e89c2322b
commit
20e936c7b9
@ -37,14 +37,14 @@ DESCRIPTIONS: tuple[PeblarUpdateEntityDescription, ...] = (
|
||||
key="firmware",
|
||||
device_class=UpdateDeviceClass.FIRMWARE,
|
||||
installed_fn=lambda x: x.current.firmware,
|
||||
has_fn=lambda x: x.current.firmware is not None,
|
||||
has_fn=lambda x: x.available.firmware is not None,
|
||||
available_fn=lambda x: x.available.firmware,
|
||||
),
|
||||
PeblarUpdateEntityDescription(
|
||||
key="customization",
|
||||
translation_key="customization",
|
||||
available_fn=lambda x: x.available.customization,
|
||||
has_fn=lambda x: x.current.customization is not None,
|
||||
has_fn=lambda x: x.available.customization is not None,
|
||||
installed_fn=lambda x: x.current.customization,
|
||||
),
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user