1
0

availibility is now property of device object

This commit is contained in:
2022-01-02 12:14:30 +01:00
parent 260d220326
commit 91c3a3a5d4
5 changed files with 51 additions and 67 deletions

View File

@ -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;
}
}
}