mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
homematic: Make device avilable again when UNREACH becomes False (#16202)
This commit is contained in:
parent
a1ce14e70f
commit
0a7055d475
@ -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…
x
Reference in New Issue
Block a user