Skip to content
Permalink
Browse files

Merge pull request #550 from Alexandr-logrus/alpha

fix
  • Loading branch information...
sergejey committed May 13, 2019
2 parents 19a20f2 + 96b2c1d commit 87c260081a4ffbee993ff0186507120a66cbf62b
@@ -7,6 +7,6 @@
$total = count($objects);
for ($i = 0; $i < $total; $i++) {
usleep(50000);
callMethodSafe($objects[$i] . '.turnOn', array('sourse' => $params['object']));
callMethodSafe($objects[$i] . '.turnOn', array('sourse' => 'DarknessMode'));
//sleep(1);
}
@@ -8,7 +8,7 @@
for ($i = 0; $i < $total; $i++) {
if (getGlobal($objects[$i] . '.status')) {
usleep(50000);
callMethodSafe($objects[$i] . '.turnOff', array('sourse' => $params['object']));
callMethodSafe($objects[$i] . '.turnOff', array('sourse' => 'DarknessMode'));
//sleep(1);
}
}
@@ -8,7 +8,7 @@
for ($i = 0; $i < $total; $i++) {
if (getGlobal($objects[$i] . '.status')) {
usleep(50000);
callMethodSafe($objects[$i] . '.turnOff', array('sourse' => $params['object']));
callMethodSafe($objects[$i] . '.turnOff', array('sourse' => 'EconomMode'));
//sleep(1);
}
}
@@ -7,6 +7,6 @@
$total = count($objects);
for ($i = 0; $i < $total; $i++) {
usleep(50000);
callMethodSafe($objects[$i] . '.turnOn', array('sourse' => $params['object']));
callMethodSafe($objects[$i] . '.turnOn', array('sourse' => 'EconomMode'));
//sleep(1);
}

2 comments on commit 87c2600

@badigit

This comment has been minimized.

Copy link

replied May 13, 2019

Нет опечатки source > sourse?

@Alexandr-logrus

This comment has been minimized.

Copy link
Contributor

replied May 13, 2019

зато везде одинаково )))
поправлю, спасибо

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