diff --git a/gw_spaceheat/admin/watch/widgets/relay_widget_info.py b/gw_spaceheat/admin/watch/widgets/relay_widget_info.py index 8da54c0a..c0929e04 100644 --- a/gw_spaceheat/admin/watch/widgets/relay_widget_info.py +++ b/gw_spaceheat/admin/watch/widgets/relay_widget_info.py @@ -94,7 +94,7 @@ def get_current_state_str(self, energized: Optional[bool], icon: Optional[bool] if energized: if icon: return self.energized_icon - return self.energized_state if self.energized_state != "" else self.get_state_str(not energized, show_icon=False) + return self.energized_state else: if icon: return ""