change the trigger handler to match new hap
This commit is contained in:
parent
00872bd1de
commit
0d08225983
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ Pattern.prototype.mqtt = function (
|
|||
cx.connect(props);
|
||||
}
|
||||
return this.withHap((hap) => {
|
||||
const onTrigger = (t_deprecate, hap, currentTime, cps, targetTime) => {
|
||||
const onTrigger = (hap, currentTime, cps, targetTime) => {
|
||||
let msg_topic = topic;
|
||||
if (!cx || !cx.isConnected()) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue