mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-17 11:26:03 +00:00
31_HUEDevice.pm: workaround for (#61636)
git-svn-id: https://svn.fhem.de/fhem/trunk@23344 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
991a33c2ca
commit
111f59e643
@ -1,5 +1,4 @@
|
||||
|
||||
|
||||
# $Id$
|
||||
|
||||
# "Hue Personal Wireless Lighting" is a trademark owned by Koninklijke Philips Electronics N.V.,
|
||||
@ -943,6 +942,7 @@ HUEDevice_Set($@)
|
||||
|
||||
if( (my $joined = join(" ", @aa)) =~ /:/ ) {
|
||||
$joined =~ s/on-till\s+[^\s]+//g; #bad workaround for: https://forum.fhem.de/index.php/topic,61636.msg728557.html#msg728557
|
||||
$joined =~ s/on-till-overnight\s+[^\s]+//g; #same bad workaround for: https://forum.fhem.de/index.php/topic,61636.msg1110193
|
||||
my @cmds = split(":", $joined);
|
||||
for( my $i = 0; $i <= $#cmds; ++$i ) {
|
||||
HUEDevice_SetParam($name, \%obj, split(" ", $cmds[$i]) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user