1
0
This commit is contained in:
2022-09-05 13:47:41 +02:00
parent 0c9f8f8c3f
commit 4acb2992ca
15 changed files with 82 additions and 53 deletions

View File

@ -37,6 +37,7 @@ class device
public $triggerDevice;
public $properties = array();
public $lastSeen;
public $users2notify = array();
public function __construct()
{
@ -141,7 +142,7 @@ class watch
{
logger(DEBUG, _("notifyCallback"));
$msg = sprintf(_("Device '%s' have property '%s' value %s %s %s"), $device->friendlyName, $property, bool2string($value), $this->condition, bool2string($this->PropertyValue) );
notify($msg);
notify($msg, $device);
}
}
}