Also return computed data
This commit is contained in:
parent
a9f0b0dea2
commit
bbc45a3069
1 changed files with 2 additions and 0 deletions
|
@ -70,6 +70,8 @@ def decode_adeunis(pkg):
|
||||||
res += get_temp(deveui, payload)
|
res += get_temp(deveui, payload)
|
||||||
res += get_gps(deveui, payload)
|
res += get_gps(deveui, payload)
|
||||||
|
|
||||||
|
return res
|
||||||
|
|
||||||
def nodered_adeunisrf(provider, data):
|
def nodered_adeunisrf(provider, data):
|
||||||
res = decode_adeunis(data)
|
res = decode_adeunis(data)
|
||||||
if not res:
|
if not res:
|
||||||
|
|
Loading…
Reference in a new issue