Fix fibaro cover detection (#72986)

This commit is contained in:
rappenze 2022-06-06 13:20:16 +02:00 committed by Paulus Schoutsen
parent b50e3d5ce7
commit bd8424d184

View File

@ -46,6 +46,8 @@ class FibaroCover(FibaroDevice, CoverEntity):
self._attr_supported_features = (
CoverEntityFeature.OPEN | CoverEntityFeature.CLOSE
)
if "stop" in self.fibaro_device.actions:
self._attr_supported_features |= CoverEntityFeature.STOP
@staticmethod
def bound(position):