mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-09 20:57:11 +00:00
46_TRX_LIGHT.pm: Fixed blink command
git-svn-id: https://svn.fhem.de/fhem/trunk@19271 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
bb77402a06
commit
627a8e5b37
@ -223,8 +223,8 @@ sub TRX_LIGHT_Set($@) {
|
||||
my ( $hash, $name, @a ) = @_;
|
||||
my $ret = undef;
|
||||
my $na = int(@a);
|
||||
|
||||
return "no set value specified" if ( $na < 1 || $na > 2 );
|
||||
Log3 $name,1,Dumper(@a);
|
||||
return "no set value specified" if ( $na < 1 || $na > 4 );
|
||||
|
||||
# look for device_type
|
||||
|
||||
@ -232,7 +232,7 @@ sub TRX_LIGHT_Set($@) {
|
||||
my $command_state = $a[0];
|
||||
my $level = 0;
|
||||
my $color = 0;
|
||||
my $arg3 = "";
|
||||
my $arg3 = "";
|
||||
|
||||
# special for SetExtensions
|
||||
#old TRX_LIGHT used a special on-for-timer notation
|
||||
|
Loading…
x
Reference in New Issue
Block a user