change the trigger handler to match new hap

This commit is contained in:
Jieren Chen
2025-10-05 13:53:00 -04:00
committed by jurrchen
parent 00872bd1de
commit 0d08225983
+1 -1
View File
@@ -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;