availibility is now property of device object
This commit is contained in:
6
moha.php
6
moha.php
@ -42,11 +42,11 @@ class device
|
||||
public $ieeeAddress;
|
||||
public $groupID;
|
||||
public $friendlyName;
|
||||
public $type; // if true then not a device but parameter of device(eg. topic/FRIENDLYNAME/PARAMETER
|
||||
public $powerSource;
|
||||
public $description;
|
||||
public $functions;
|
||||
public $payload;
|
||||
public $availibility;
|
||||
|
||||
public function set($event)
|
||||
{
|
||||
@ -198,10 +198,6 @@ while (true)
|
||||
}elseif($dbInit == 2 and $included)
|
||||
{
|
||||
checkEvents();
|
||||
if (empty($flag))
|
||||
{
|
||||
$flag = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user