typos corrected
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@1783 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -179,7 +179,7 @@ TRX_LIGHT_Set($@)
|
|||||||
$unit = $2;
|
$unit = $2;
|
||||||
} else {
|
} else {
|
||||||
Log 4,"TRX_LIGHT_Set lightning1 wrong deviceid: name=$name device_type=$device_type, deviceid=$deviceid";
|
Log 4,"TRX_LIGHT_Set lightning1 wrong deviceid: name=$name device_type=$device_type, deviceid=$deviceid";
|
||||||
return "error set name=$name deviveid=$deviceid";
|
return "error set name=$name deviceid=$deviceid";
|
||||||
}
|
}
|
||||||
|
|
||||||
# lightning1
|
# lightning1
|
||||||
@@ -193,7 +193,7 @@ TRX_LIGHT_Set($@)
|
|||||||
;
|
;
|
||||||
} else {
|
} else {
|
||||||
Log 4,"TRX_LIGHT_Set lightning2 wrong deviceid: name=$name device_type=$device_type, deviceid=$deviceid";
|
Log 4,"TRX_LIGHT_Set lightning2 wrong deviceid: name=$name device_type=$device_type, deviceid=$deviceid";
|
||||||
return "error set name=$name deviveid=$deviceid";
|
return "error set name=$name deviceid=$deviceid";
|
||||||
}
|
}
|
||||||
$hex_prefix = sprintf "0B11";
|
$hex_prefix = sprintf "0B11";
|
||||||
$hex_command = sprintf "%02x%02x%s%02x%02x00", $device_type_num & 0xff, $seqnr, $deviceid, $cmnd, $level;
|
$hex_command = sprintf "%02x%02x%s%02x%02x00", $device_type_num & 0xff, $seqnr, $deviceid, $cmnd, $level;
|
||||||
|
|||||||
Reference in New Issue
Block a user