debbuging hooks
This commit is contained in:
@@ -71,15 +71,15 @@ class rdc_chambre_eclairage extends hook
|
||||
{
|
||||
logger(DEBUG, _("CASE: state => value = 'OFF'"), __FILE__ . ":" . __LINE__);
|
||||
$targetAmbiance->properties[$property]["method"] = IDLE;
|
||||
removeEvent($targetAmbiance, $property, "OFF", IDLE);
|
||||
removeEvent($targetAmbiance, $property, "OFF");
|
||||
}
|
||||
}elseif ($property == "state_l1")
|
||||
{
|
||||
if ($value == "OFF")
|
||||
{
|
||||
logger(DEBUG, _("CASE: state_l1 => value = 'OFF'"), __FILE__ . ":" . __LINE__);
|
||||
//$targetEclairage->properties[$property]["method"] = IDLE;
|
||||
removeEvent($targetAmbiance, $property, "OFF", IDLE);
|
||||
$targetEclairage->properties[$property]["method"] = IDLE;
|
||||
removeEvent($targetAmbiance, $property, "OFF");
|
||||
}
|
||||
}elseif ($property == "action")
|
||||
{
|
||||
|
Reference in New Issue
Block a user