added custom script plus some debugging
This commit is contained in:
@@ -32,12 +32,12 @@ class device
|
||||
|
||||
public function set($event)
|
||||
{
|
||||
publish($this, $this->payload, "set", $event);
|
||||
publish($this->topic . "/" . $this->friendlyName, $this->payload, "set", $event);
|
||||
}
|
||||
|
||||
public function get()
|
||||
{
|
||||
publish($this, $this->payload, "get", $event);
|
||||
publish($this->topic . "/" . $this->friendlyNames, $this->payload, "get", $event);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user