homematic: Make device avilable again when UNREACH becomes False (#16202)
This commit is contained in:
parent
a1ce14e70f
commit
0a7055d475
1 changed files with 1 additions and 1 deletions
|
@ -869,7 +869,7 @@ class HMDevice(Entity):
|
|||
|
||||
# Availability has changed
|
||||
if attribute == 'UNREACH':
|
||||
self._available = bool(value)
|
||||
self._available = not bool(value)
|
||||
has_changed = True
|
||||
elif not self.available:
|
||||
self._available = False
|
||||
|
|
Loading…
Add table
Reference in a new issue