Update Verisure package to 2.6.1 (#89318)
Co-authored-by: Franck Nijhof <frenck@frenck.nl> Co-authored-by: RobinBolder <33325401+RobinBolder@users.noreply.github.com> Co-authored-by: Tobias Lindaaker <tobias@thobe.org>
This commit is contained in:
parent
6e92dac61f
commit
1baadc1d09
17 changed files with 294 additions and 219 deletions
|
@ -109,9 +109,9 @@ class VerisureEthernetStatus(
|
|||
@property
|
||||
def is_on(self) -> bool:
|
||||
"""Return the state of the sensor."""
|
||||
return self.coordinator.data["ethernet"]
|
||||
return self.coordinator.data["broadband"]["isBroadbandConnected"]
|
||||
|
||||
@property
|
||||
def available(self) -> bool:
|
||||
"""Return True if entity is available."""
|
||||
return super().available and self.coordinator.data["ethernet"] is not None
|
||||
return super().available and self.coordinator.data["broadband"] is not None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue