Skip to content

Commit

Permalink
[SWITCH] cyrilcc#42: NewKaku ALLON/ALLOFF command support - fix comma…
Browse files Browse the repository at this point in the history
…nd state
  • Loading branch information
cartemere committed Feb 10, 2019
1 parent ac56658 commit fbc36f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public Collection<String> keys() {
@Override
public Map<String, State> getStates() {
Map<String, State> map = new HashMap<>();
map.put(RfLinkBindingConstants.CHANNEL_COMMAND, (State) command);
map.put(RfLinkBindingConstants.CHANNEL_COMMAND, ((State) RfLinkTypeUtils.getSynonym(command, OnOffType.class)));
map.put(RfLinkBindingConstants.CHANNEL_CONTACT, (State) contact);
if (dimming != null) {
map.put(RfLinkBindingConstants.CHANNEL_DIMMING_LEVEL, (State) dimming);
Expand Down

0 comments on commit fbc36f1

Please sign in to comment.