mirror of https://github.com/home-assistant/core
Powerview polling tdbu (#73899)
This commit is contained in:
parent
8015bb98a9
commit
95abfb5748
|
@ -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."""
|
||||
|
|
Loading…
Reference in New Issue