Skip to content

Commit 6ef3076

Browse files
author
autoblack
committed
fixup: pw_next_2 Python code reformatted using Black
1 parent ad3d964 commit 6ef3076

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugwise/entities.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ def icon_selector(arg, state):
6262
"dhw_state": FLOW_ON_ICON if state else FLOW_OFF_ICON,
6363
"flame_state": FLAME_ICON if state else IDLE_ICON,
6464
"slave_boiler_state": FLAME_ICON if state else IDLE_ICON,
65-
"plugwise_notification": NOTIFICATION_ICON if state else NO_NOTIFICATION_ICON,
65+
"plugwise_notification": NOTIFICATION_ICON
66+
if state
67+
else NO_NOTIFICATION_ICON,
6668
}
6769
return selector.get(arg)
6870

0 commit comments

Comments
 (0)