mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 22:27:07 +00:00
Fix fibaro cover detection (#72986)
This commit is contained in:
parent
0b62944148
commit
e5b447839a
@ -46,6 +46,8 @@ class FibaroCover(FibaroDevice, CoverEntity):
|
|||||||
self._attr_supported_features = (
|
self._attr_supported_features = (
|
||||||
CoverEntityFeature.OPEN | CoverEntityFeature.CLOSE
|
CoverEntityFeature.OPEN | CoverEntityFeature.CLOSE
|
||||||
)
|
)
|
||||||
|
if "stop" in self.fibaro_device.actions:
|
||||||
|
self._attr_supported_features |= CoverEntityFeature.STOP
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def bound(position):
|
def bound(position):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user