From 2df67a78f737f72eff14b706e4aa71758d57ed93 Mon Sep 17 00:00:00 2001 From: Christian Pedersen Date: Thu, 15 Feb 2024 21:10:08 +0100 Subject: [PATCH] Fix closed -> opening Fixed what I assume is a copy-paste error Signed-off-by: Christian Pedersen --- ha_mqtt_discoverable/sensors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ha_mqtt_discoverable/sensors.py b/ha_mqtt_discoverable/sensors.py index dfabeca..ec86f5f 100644 --- a/ha_mqtt_discoverable/sensors.py +++ b/ha_mqtt_discoverable/sensors.py @@ -409,7 +409,7 @@ def closing(self) -> None: def opening(self) -> None: """Set cover state to opening""" - self._update_state(self._entity.state_closed) + self._update_state(self._entity.state_opening) def stopped(self) -> None: """Set cover state to stopped"""