mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Remove unnecessary should poll from cover classes (#41231)
This commit is contained in:
parent
a1f70e11ae
commit
b1ff69d9a3
@ -129,11 +129,6 @@ class GaradgetCover(CoverEntity):
|
|||||||
"""Return the name of the cover."""
|
"""Return the name of the cover."""
|
||||||
return self._name
|
return self._name
|
||||||
|
|
||||||
@property
|
|
||||||
def should_poll(self):
|
|
||||||
"""No polling needed for a demo cover."""
|
|
||||||
return True
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def available(self):
|
def available(self):
|
||||||
"""Return True if entity is available."""
|
"""Return True if entity is available."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user