mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 08:17:08 +00:00
Fix available property for Xiaomi Miio fan platform (#55889)
* Fix available * Suggested change
This commit is contained in:
parent
53ea24ec15
commit
86247c93fc
@ -311,7 +311,7 @@ class XiaomiGenericDevice(XiaomiCoordinatedMiioEntity, FanEntity):
|
||||
@property
|
||||
def available(self):
|
||||
"""Return true when state is known."""
|
||||
return self._available
|
||||
return super().available and self._available
|
||||
|
||||
@property
|
||||
def extra_state_attributes(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user