mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-28 05:01:57 +00:00
31_HUEDevice.pm: fixed on-till. see forum: https://forum.fhem.de/index.php/topic,61636.msg728557.html#msg728557
git-svn-id: https://svn.fhem.de/fhem/trunk@15819 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f6bcabffd1
commit
87aaac8a28
@ -721,6 +721,7 @@ HUEDevice_Set($@)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if( (my $joined = join(" ", @aa)) =~ /:/ ) {
|
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
|
||||||
my @cmds = split(":", $joined);
|
my @cmds = split(":", $joined);
|
||||||
for( my $i = 0; $i <= $#cmds; ++$i ) {
|
for( my $i = 0; $i <= $#cmds; ++$i ) {
|
||||||
HUEDevice_SetParam($name, \%obj, split(" ", $cmds[$i]) );
|
HUEDevice_SetParam($name, \%obj, split(" ", $cmds[$i]) );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user