1
0
mirror of https://github.com/home-assistant/core.git synced 2026-07-12 00:57:36 +01:00

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

This commit is contained in:
Franck Nijhof
2026-06-01 12:38:02 +02: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