Hi all,
I’m pretty new to HASS and have been reading about using jinja2 filters in the value_template configuration for the mqtt sensor.
I have an MQTT topic that returns strings like this:
[1465965499,1257,“W”]
[1465965499,2116,“W”]
I need to extract that second number - it’s the realtime electricity consumption from my Flukso monitor. Looking through http://jinja.pocoo.org/docs/dev/templates/#filters I’m struggling to find something I can use. Any assistance would be appreciated.
Thanks,
James