]> git.basschouten.com Git - openhab-addons.git/commit
[rfxcom] Add firmware type, avoid crashing on unknown. (#10879)
authorJames Hewitt <james.hewitt@uk.ibm.com>
Sat, 19 Jun 2021 09:29:58 +0000 (10:29 +0100)
committerGitHub <noreply@github.com>
Sat, 19 Jun 2021 09:29:58 +0000 (11:29 +0200)
commitae4ac7d36ceaf9e20f04d3198efa0f87fd197b99
tree6bcff39115164879e01bbebf58582778ef5ef373
parent60c199c9c995c529f6d09989c4b42ef1f2000133
[rfxcom] Add firmware type, avoid crashing on unknown. (#10879)

New firmware type reported from the community that's not in the SDK. Also,
we don't actually _use_ the firmware type or device type for anything, so
lets not crash if we don't match the bytes - lets just flag it unknown.

https://community.openhab.org/t/rfxcom-binding-unsupported-value/123615/12

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
bundles/org.openhab.binding.rfxcom/src/main/java/org/openhab/binding/rfxcom/internal/messages/RFXComInterfaceMessage.java
bundles/org.openhab.binding.rfxcom/src/test/java/org/openhab/binding/rfxcom/internal/messages/RFXComInterfaceControlMessageTest.java
bundles/org.openhab.binding.rfxcom/src/test/java/org/openhab/binding/rfxcom/internal/messages/RFXComInterfaceMessageTest.java