mirror of
https://github.com/home-assistant/core.git
synced 2026-09-02 18:24:49 -05:00
Powerview polling tdbu (#73899)
This commit is contained in:
@@ -464,6 +464,15 @@ class PowerViewShadeTDBUTop(PowerViewShadeTDBU):
|
||||
ATTR_POSKIND2: POS_KIND_SECONDARY,
|
||||
}
|
||||
|
||||
@property
|
||||
def should_poll(self) -> bool:
|
||||
"""Certain shades create multiple entities.
|
||||
|
||||
Do not poll shade multiple times. One shade will return data
|
||||
for both and multiple polling will cause timeouts.
|
||||
"""
|
||||
return False
|
||||
|
||||
@property
|
||||
def is_closed(self):
|
||||
"""Return if the cover is closed."""
|
||||
|
||||
Reference in New Issue
Block a user