mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 20:24:36 +00:00
31_HUEDevice.pm: correct group icon name. forum https://forum.fhem.de/index.php/topic,11020.msg543212.html#msg543212
git-svn-id: https://svn.fhem.de/fhem/trunk@12836 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
080bd200b5
commit
d29a0d82fc
@ -1041,6 +1041,7 @@ HUEDeviceSetIcon($;$)
|
|||||||
$attr{$name}{icon} = $icon;
|
$attr{$name}{icon} = $icon;
|
||||||
} elsif( $hash->{class} ) {
|
} elsif( $hash->{class} ) {
|
||||||
my $class = lc( $hash->{class} );
|
my $class = lc( $hash->{class} );
|
||||||
|
$class ~= s/ room//;
|
||||||
|
|
||||||
$attr{$name}{icon} = "hue_room_$class";
|
$attr{$name}{icon} = "hue_room_$class";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user