Also return computed data

This commit is contained in:
Nico Schottelius 2016-11-12 17:54:53 +01:00
parent a9f0b0dea2
commit bbc45a3069
1 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,8 @@ def decode_adeunis(pkg):
res += get_temp(deveui, payload)
res += get_gps(deveui, payload)
return res
def nodered_adeunisrf(provider, data):
res = decode_adeunis(data)
if not res: