1
0

added custom script plus some debugging

This commit is contained in:
2022-01-03 21:11:52 +01:00
parent d79463fbd4
commit 5224d00d5a
10 changed files with 173 additions and 55 deletions

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