Skip to content

Commit

Permalink
Change state key value to ON/OFF, BREAKING CHANGE for Waveman-Switch (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
DigiH authored Dec 30, 2024
1 parent a656f2e commit 18ab25c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devices/waveman.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static int waveman_callback(r_device *decoder, bitbuffer_t *bitbuffer)
"id", "", DATA_STRING, id_str,
"channel", "", DATA_INT, (nb[1] >> 2) + 1,
"button", "", DATA_INT, (nb[1] & 3) + 1,
"state", "", DATA_STRING, (nb[2] == 0xe) ? "on" : "off",
"state", "", DATA_STRING, (nb[2] == 0xe) ? "ON" : "OFF",
NULL);
/* clang-format on */
decoder_output_data(decoder, data);
Expand Down

0 comments on commit 18ab25c

Please sign in to comment.