added custom script plus some debugging

This commit is contained in:
DTux committed 2022-01-03 21:11:52 +01:00
1 parent d79463fbd4
commit 5224d00d5a
10 files changed
+173 -55

No files matched your search

+2 -2
View File
@@ -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);
}
}