Skip to content

Commit

Permalink
[DOCS] Update ZmqttDiscovery.ino (#1661)
Browse files Browse the repository at this point in the history
Typo fix
  • Loading branch information
blakadder authored May 30, 2023
1 parent 73913a3 commit d940ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/ZmqttDiscovery.ino
Original file line number Diff line number Diff line change
Expand Up @@ -1076,7 +1076,7 @@ void pubMqttDiscovery() {
# ifdef ESP32

createDiscovery("number", //set Type
subjectBTtoMQTT, "BT: Connnect interval", (char*)getUniqueId("intervalcnct", "").c_str(), //set state_topic,name,uniqueId
subjectBTtoMQTT, "BT: Connect interval", (char*)getUniqueId("intervalcnct", "").c_str(), //set state_topic,name,uniqueId
will_Topic, "", "{{ value_json.intervalcnct/60000 }}", //set availability_topic,device_class,value_template,
"{\"intervalcnct\":{{value*60000}},\"save\":true}", "", "min", //set,payload_on,payload_off,unit_of_meas,
0, //set off_delay
Expand Down

0 comments on commit d940ed0

Please sign in to comment.