debug
This commit is contained in:
		@@ -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);
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user