31_HUEDevice.pm: fixed typo

git-svn-id: https://svn.fhem.de/fhem/trunk@12839 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2016-12-19 23:02:37 +00:00
parent 7c4bd582c6
commit 80f08980e7

View File

@@ -1041,7 +1041,7 @@ HUEDeviceSetIcon($;$)
$attr{$name}{icon} = $icon;
} elsif( $hash->{class} ) {
my $class = lc( $hash->{class} );
$class ~= s/ room//;
$class =~ s/ room//;
$attr{$name}{icon} = "hue_room_$class";
}