From 7c13f92d48e2549cf26b2a0f4694368b0a516152 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sondre=20Gr=C3=B8n=C3=A5s?= <44143748+sondregronas@users.noreply.github.com> Date: Sun, 7 Jul 2024 16:21:57 +0200 Subject: [PATCH] Fix printer going to idle instead of finished state --- custom_components/ankermake/ankermake_mqtt_adapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/ankermake/ankermake_mqtt_adapter.py b/custom_components/ankermake/ankermake_mqtt_adapter.py index cf87bff..513162f 100644 --- a/custom_components/ankermake/ankermake_mqtt_adapter.py +++ b/custom_components/ankermake/ankermake_mqtt_adapter.py @@ -86,7 +86,7 @@ def online(self) -> bool: @property def printing(self) -> bool: - return self.job_name != "" + return self.job_name != "" and not self.progress @property def filament_weight(self) -> float: