Mullvad integration improvements (#46987)
This commit is contained in:
parent
b0d56970a5
commit
45b50c53ad
6 changed files with 74 additions and 23 deletions
|
@ -47,6 +47,6 @@ class MullvadBinarySensor(CoordinatorEntity, BinarySensorEntity):
|
|||
return self._name
|
||||
|
||||
@property
|
||||
def state(self):
|
||||
def is_on(self):
|
||||
"""Return the state for this binary sensor."""
|
||||
return self.coordinator.data[self.id]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue