Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
tp1de committed Apr 20, 2024
1 parent 588693c commit 19400be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ems.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ const init = async function(a,i) {
const bool_format = settings["bool format"];

if (bool_format != 6 ) {
adapter.log.error("wrong formatting options for api bool format in ems-esp settings");
adapter.log.error("wrong formatting options for api/mqtt bool format in ems-esp settings -> correct: 1/0 ");
adapter.setState("info.connection_ems", false, true);
return;
}
if (enum_format != 1 ) {
adapter.log.error("wrong formatting options for api enum format in ems-esp settings");
adapter.log.error("wrong formatting options for api/mqtt enum format in ems-esp settings -> correct: Value ");
adapter.setState("info.connection_ems", false, true);
return;
}
Expand Down

0 comments on commit 19400be

Please sign in to comment.