device-automation-bus / dab-adapter-rs

Apache License 2.0
2 stars 8 forks source link

Fix extra quotation marks around get_thunder_property() results #58

Closed xhaakon closed 7 months ago

xhaakon commented 7 months ago

For example

get_thunder_property("DeviceInfo.serialnumber", "serialnumber")?

correctly returned "320b0202000000000e18c04115b05600", but when the function was called with an empty key_name:

get_thunder_property("DisplayInfo.framerate", "")?

it returned "\"Framerate60\"" instead of "Framerate60".

xhaakon commented 7 months ago

Blocks merging https://github.com/device-automation-bus/dab-adapter-rs/pull/57