Skip to content

Commit

Permalink
Fix MQTT actions, broken by commit 888a1d2
Browse files Browse the repository at this point in the history
(reported as issue #23).
  • Loading branch information
hvxl committed Oct 22, 2023
1 parent d69a5ba commit 2aaff68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otmonitor.vfs/mqtt.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ proc mqttstatus {topic data retained {prop {}}} {
}
}

proc mqttaction {topic data retain props args} {
proc mqttaction {topic data retain {props {}} args} {
global cfg mqttactions actionid
if {[dict exists $props ResponseTopic]} {
# To be able to provide a response, the proc must run as a coroutine
Expand Down

0 comments on commit 2aaff68

Please sign in to comment.