Hi,
I have this file: http://www.herlev-vejret.dk/clientraw.txt and I would like to exact the fifth value and post it as a temperature sensor. Any ideas on how to do this?
This seems to work…
- platform: rest
resource: http://www.herlev-vejret.dk/clientraw.txt
name: MB Rest - Test
value_template: >-
{% set values = value.split(' ') %}
{{ values[4] }}
An amazing and simple solution, thanks a lot!