I want to calculate with the day usage of gas that is coming from the Toon readout.
Only when I want to use this value of gas I'm getting this error:
Code: Select all
2017-03-26 18:49:31.526 Error: EventSystem: in Split usage gas: [string "commandArray = {} ..."]:12: attempt to concatenate global 'Gas' (a nil value)
Code: Select all
2017-03-26 18:49:51.519 Error: EventSystem: in test gas: [string "commandArray = {} ..."]:4: attempt to concatenate global 'g' (a nil value)
But my day amount for now is 2.55m3 so there must be something higher then nil. Update: After some testing I receive the total gas amount with print('Gas'..otherdevices_svalues['Gas']) but stil not getting tot day usage.