mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 15:17:35 +00:00
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,
|
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
|
@property
|
||||||
def is_closed(self):
|
def is_closed(self):
|
||||||
"""Return if the cover is closed."""
|
"""Return if the cover is closed."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user