2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 05:16:45 +00:00

86_Robonect.pm: ABU 20170301 fixed hybernate-check in set

git-svn-id: https://svn.fhem.de/fhem/trunk@13571 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
andi291 2017-03-01 19:35:51 +00:00
parent 5f43879889
commit 71fc3ae942

View File

@ -19,6 +19,7 @@
# ABU 20161120 addaed encode_utf8 at json decode, tuned 0.5b repiar-stuff, added hibernate # ABU 20161120 addaed encode_utf8 at json decode, tuned 0.5b repiar-stuff, added hibernate
# ABU 20161126 added summary # ABU 20161126 added summary
# ABU 20161129 fixed hash issues which prevents the module from loading # ABU 20161129 fixed hash issues which prevents the module from loading
# ABU 20170301 fixed hybernate-check in set
package main; package main;
@ -325,7 +326,7 @@ sub Robonect_Set($@)
my $decodedCmd = $commands{SET_MODE}{$cmd}; my $decodedCmd = $commands{SET_MODE}{$cmd};
#if command is hybernate, do this #if command is hybernate, do this
if ($cmd = lc($HYBERNATE)) if ($cmd eq lc($HYBERNATE))
{ {
Log3 ($name, 5, "got hybernate for set-command"); Log3 ($name, 5, "got hybernate for set-command");