Closed jamesleesaunders closed 7 years ago
@hansmosh @mattdodge Please could one of you give this a check over? I didn't want to merge this in until at least one of you had given it a look. I have written a test (albeit not sure in the right place?)
Running code:
Running on python3 causes error:
Caused because _build_command() tries to concat bytes with at command 'MY' of type string. This solution proposes checking data type and converting to bytes.
Also written a small unit test to make sure now works. I am not totally sure if test_zigbee.py is the most appropriate place for it.
Fixes Issue #50