* Add default translations for binding add-ons
This makes the texts used by these add-ons translatable with Crowdin.
To keep the PR simple, it only adds default translations for add-ons which do not yet have any default translations properties file.
We can do follow up PRs for adding missing key/values to add-ons that already have these files or to remove duplications.
There are several add-ons in this PR that do have non-English translation files, so I'll upload those to Crowdin when the PR is merged.
Signed-off-by: Wouter Born <github@maindrain.net>
* Add Unit handling functionality to SNMP Reads
Signed-off-by: James Melville <jamesmelville@gmail.com>
* Use core library for Unit parsing
Signed-off-by: James Melville <jamesmelville@gmail.com>
* [snmp] Set thing only online on valid response
Otherwise it will toggles between online and offline when the call always times-out, which can happen when the device is unreachable (or a wrong ip address configured).
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
* Fix memory leak in SNMP. When receiving an async request it is placed in a pending request queue. Not canceling it leads to infinty life cycle for those requests, filling up memory.
* Test the canceling of the snmp aync request by its handler.
Signed-off-by: Falk Bauer <falk.bauer@k-is.com>