Add key expiry disabled binary sensor to Tailscale (#117667)
This commit is contained in:
parent
22cc7d34d5
commit
efcfbbf189
3 changed files with 23 additions and 0 deletions
|
@ -36,6 +36,12 @@ BINARY_SENSORS: tuple[TailscaleBinarySensorEntityDescription, ...] = (
|
|||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
is_on_fn=lambda device: device.update_available,
|
||||
),
|
||||
TailscaleBinarySensorEntityDescription(
|
||||
key="key_expiry_disabled",
|
||||
translation_key="key_expiry_disabled",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
is_on_fn=lambda device: device.key_expiry_disabled,
|
||||
),
|
||||
TailscaleBinarySensorEntityDescription(
|
||||
key="client_supports_hair_pinning",
|
||||
translation_key="client_supports_hair_pinning",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue