Fix Overkiz UnoIO cover reporting wrong movement direction (#172506)

This commit is contained in:
Franck Nijhof
2026-06-01 16:53:19 +00:00
parent 589d2637c9
commit 8ec3eac705
@@ -854,6 +854,9 @@ class OverkizCover(OverkizDescriptiveEntity, CoverEntity):
if current_value is None or target_value is None:
return None
if current_value in (_POSITION_MY, _POSITION_UNKNOWN):
return None
return current_value - target_value