Skip to content

Commit

Permalink
Item control: Don't use TYPE_SHUTTER
Browse files Browse the repository at this point in the history
TYPE_SHUTTER has the same icon as TYPE_WINDOW. It's also not animated,
compared to TYPE_BLINDS.
Use the same icon for `blinds` and `rollershutter` as they are the same
in the classic icon set as well.

Signed-off-by: mueller-ma <[email protected]>
  • Loading branch information
mueller-ma committed Sep 24, 2023
1 parent e5c0c49 commit 128a7e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ fun Item.getDeviceType() = when (category?.lowercase()?.substringAfterLast(':'))
"lock" -> DeviceTypes.TYPE_LOCK
"fan", "fan_box", "fan_ceiling" -> DeviceTypes.TYPE_FAN
"blinds" -> DeviceTypes.TYPE_BLINDS
"rollershutter" -> DeviceTypes.TYPE_SHUTTER
"rollershutter" -> DeviceTypes.TYPE_BLINDS
"window" -> DeviceTypes.TYPE_WINDOW
"dryer" -> DeviceTypes.TYPE_DRYER
"washingmachine" -> DeviceTypes.TYPE_WASHER
Expand Down

0 comments on commit 128a7e6

Please sign in to comment.