Update tailscale to 0.2.0 (#65318)

This commit is contained in:
Franck Nijhof 2022-01-31 18:17:35 +01:00 committed by GitHub
parent 441e81c02a
commit e5b6a58fab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 7 deletions

View file

@ -111,8 +111,6 @@ class TailscaleBinarySensorEntity(TailscaleEntity, BinarySensorEntity):
entity_description: TailscaleBinarySensorEntityDescription
@property
def is_on(self) -> bool:
def is_on(self) -> bool | None:
"""Return the state of the sensor."""
return bool(
self.entity_description.is_on_fn(self.coordinator.data[self.device_id])
)
return self.entity_description.is_on_fn(self.coordinator.data[self.device_id])

View file

@ -3,7 +3,7 @@
"name": "Tailscale",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/tailscale",
"requirements": ["tailscale==0.1.6"],
"requirements": ["tailscale==0.2.0"],
"codeowners": ["@frenck"],
"quality_scale": "platinum",
"iot_class": "cloud_polling"

View file

@ -2314,7 +2314,7 @@ synology-srm==0.2.0
systembridge==2.2.3
# homeassistant.components.tailscale
tailscale==0.1.6
tailscale==0.2.0
# homeassistant.components.tank_utility
tank_utility==1.4.0

View file

@ -1423,7 +1423,7 @@ surepy==0.7.2
systembridge==2.2.3
# homeassistant.components.tailscale
tailscale==0.1.6
tailscale==0.2.0
# homeassistant.components.tellduslive
tellduslive==0.10.11