Skip to content

Commit

Permalink
Minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
thdfw committed Dec 31, 2024
1 parent 8398e93 commit da37d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gw_spaceheat/admin/watch/widgets/relay_widget_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
Expand Down

0 comments on commit da37d90

Please sign in to comment.