Skip to content

Commit

Permalink
add test for MQTT heatingactivated
Browse files Browse the repository at this point in the history
  • Loading branch information
proddy committed Sep 25, 2021
1 parent ced4403 commit da5b4aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd) {
EMSESP::mqtt_.incoming("ems-esp/boiler", "{\"cmd\":\"wwonetime\",\"id\":0,\"data\":\"off\"}");
EMSESP::mqtt_.incoming("ems-esp/boiler", "{\"cmd\":\"wwonetime\",\"hc\":1,\"data\":\"on\"}");
EMSESP::mqtt_.incoming("ems-esp/boiler", "{\"cmd\":\"wwonetime\",\"data\":\"on\",\"hc\":1}");
EMSESP::mqtt_.incoming("ems-esp/boiler", "{\"cmd\":\"heatingactivated\",\"data\":1}");

shell.invoke_command("show mqtt");
}
Expand Down

0 comments on commit da5b4aa

Please sign in to comment.