debugged notification of availability of devices
This commit is contained in:
		@@ -27,6 +27,12 @@ class rdc_sdb_eclairage extends hook
 | 
			
		||||
		array(RDC_SDB_PLAFOND_MVMT, "occupancy", 1),
 | 
			
		||||
		array(RDC_SDB_MVMT, "occupancy", 1)
 | 
			
		||||
	);
 | 
			
		||||
 | 
			
		||||
	function installHooks(&$indexDevices)
 | 
			
		||||
	{
 | 
			
		||||
		return $this->installHooksFunction($indexDevices);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	// callback fonction. Is called with these 3 parameters
 | 
			
		||||
	public function callBack(&$device, $property, $value)
 | 
			
		||||
	{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user