Skip to content

Commit

Permalink
修复自发现BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
qlwz committed Jul 11, 2020
1 parent 9fbaca8 commit 16ead38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/DC1.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class DC1 : public Module
void init();
String getModuleName() { return F("dc1"); }
String getModuleCNName() { return F("DC1插线板"); }
String getModuleVersion() { return F("2020.07.11.0000"); }
String getModuleVersion() { return F("2020.07.11.2000"); }
String getModuleAuthor() { return F("情留メ蚊子"); }
bool moduleLed();

Expand Down
4 changes: 2 additions & 2 deletions src/DC1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ void DC1::mqttDiscovery(bool isEnable)
PSTR("{\"name\":\"%s_%d\","
"\"cmd_t\":\"%s\","
"\"stat_t\":\"%s\","
"\"pl_off\":\"OFF\","
"\"pl_on\":\"ON\","
"\"pl_off\":\"off\","
"\"pl_on\":\"on\","
"\"avty_t\":\"%s\","
"\"pl_avail\":\"online\","
"\"pl_not_avail\":\"offline\"}"),
Expand Down

0 comments on commit 16ead38

Please sign in to comment.