Update tailscale to 0.2.0 (#65318)
This commit is contained in:
parent
441e81c02a
commit
e5b6a58fab
4 changed files with 5 additions and 7 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue