Skip to content

Commit

Permalink
fix state/command values for switches (#6589)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan N. Klug <[email protected]>
  • Loading branch information
J-N-K authored and kaikreuzer committed Dec 20, 2019
1 parent 1e196e5 commit 505e1d3
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ static class ChannelConfiguration extends BaseChannelConfiguration {
protected boolean optimistic = false;

protected String state_topic = "";
protected String state_on = "true";
protected String state_off = "false";
protected String state_on = "ON";
protected String state_off = "OFF";
protected @Nullable String command_topic;
protected String payload_on = "true";
protected String payload_off = "false";
protected String payload_on = "ON";
protected String payload_off = "OFF";
}

public ComponentSwitch(CFactory.ComponentConfiguration componentConfiguration) {
Expand Down

0 comments on commit 505e1d3

Please sign in to comment.