Remove should poll property from Xiaomi Miio fan platform (#55201)
parent
517fda1383
commit
06604728c5
|
@ -276,11 +276,6 @@ class XiaomiGenericDevice(XiaomiCoordinatedMiioEntity, FanEntity):
|
||||||
"""Return the percentage based speed of the fan."""
|
"""Return the percentage based speed of the fan."""
|
||||||
return None
|
return None
|
||||||
|
|
||||||
@property
|
|
||||||
def should_poll(self):
|
|
||||||
"""Poll the device."""
|
|
||||||
return True
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def available(self):
|
def available(self):
|
||||||
"""Return true when state is known."""
|
"""Return true when state is known."""
|
||||||
|
|
Loading…
Reference in New Issue