debuggage

This commit is contained in:
DTux committed 2022-06-20 10:34:55 +02:00
1 parent da3f4ab51f
commit 58812c442f
13 files changed
+130 -87

No files matched your search

+3 -2
View File
@@ -39,9 +39,10 @@ class device
$this->availability = array("value" => null, "functions" => array());
}
public function set() //, $event = null)
public function set($property, $method = IDLE) //, $event = null)
{
publish($this->topic . "/" . $this->friendlyName, $this->payload, "set"); //, $event);
publish($this->topic . "/" . $this->friendlyName, $this->payload, "set");//, $event);
$this->properties[$property]["method"] = $method;
}
public function get()