Skip to content
Permalink
Browse files

Merge pull request #537 from Alexandr-logrus/alpha

Alpha
  • Loading branch information...
sergejey committed May 3, 2019
2 parents c3b519c + dee9b8d commit 26bfc9dedc1989aa55bbca95c209e0e6c8c8b656
@@ -33,8 +33,7 @@
$nobodyhome_timeout=SETTINGS_BEHAVIOR_NOBODYHOME_TIMEOUT * 60;
}
if ($nobodyhome_timeout) {
ClearTimeOut("nobodyHome");
SetTimeOut("nobodyHome", "callMethodSafe('NobodyHomeMode.activate');", $nobodyhome_timeout);
setTimeOut("nobodyHome", "callMethodSafe('NobodyHomeMode.activate');", $nobodyhome_timeout);
}
if ($linked_room) {
callMethodSafe($linked_room . '.onActivity', array('sensor' => $ot));
@@ -31,8 +31,7 @@
$nobodyhome_timeout = SETTINGS_BEHAVIOR_NOBODYHOME_TIMEOUT * 60;
}
if ($nobodyhome_timeout) {
ClearTimeOut("nobodyHome");
SetTimeOut("nobodyHome", "callMethodSafe('NobodyHomeMode.activate');", $nobodyhome_timeout);
setTimeOut("nobodyHome", "callMethodSafe('NobodyHomeMode.activate');", $nobodyhome_timeout);
}
$linked_room = $this->getProperty('linkedRoom');
@@ -26,8 +26,7 @@
$nobodyhome_timeout = SETTINGS_BEHAVIOR_NOBODYHOME_TIMEOUT * 60;
}
if ($nobodyhome_timeout) {
ClearTimeOut("nobodyHome");
SetTimeOut("nobodyHome", "callMethodSafe('NobodyHomeMode.activate');", $nobodyhome_timeout);
setTimeOut("nobodyHome", "callMethodSafe('NobodyHomeMode.activate');", $nobodyhome_timeout);
}
if ($linked_room) {
callMethodSafe($linked_room . '.onActivity', array('sensor' => $ot));
@@ -25,8 +25,7 @@
$nobodyhome_timeout = SETTINGS_BEHAVIOR_NOBODYHOME_TIMEOUT * 60;
}
if ($nobodyhome_timeout) {
ClearTimeOut("nobodyHome");
SetTimeOut("nobodyHome", "callMethodSafe('NobodyHomeMode.activate');", $nobodyhome_timeout);
setTimeOut("nobodyHome", "callMethodSafe('NobodyHomeMode.activate');", $nobodyhome_timeout);
}
if ($linked_room) {
callMethodSafe($linked_room.'.onActivity', array('sensor'=>$ot));
Oops, something went wrong.

0 comments on commit 26bfc9d

Please sign in to comment.
You can’t perform that action at this time.