mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
88_Utils.pm : Updated loglevel for UntoggleDirect($)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1932 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ea74f36111
commit
10e24ba217
@ -98,7 +98,7 @@ sub rtrim($)
|
|||||||
sub UntoggleDirect($)
|
sub UntoggleDirect($)
|
||||||
{
|
{
|
||||||
my ($obj) = shift;
|
my ($obj) = shift;
|
||||||
Log 3, "UntoggleDirect($obj)";
|
Log 4, "UntoggleDirect($obj)";
|
||||||
if (Value($obj) eq "toggle"){
|
if (Value($obj) eq "toggle"){
|
||||||
if (OldValue($obj) eq "off") {
|
if (OldValue($obj) eq "off") {
|
||||||
{fhem ("setstate ".$obj." on")}
|
{fhem ("setstate ".$obj." on")}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user