hi All,
I am trying to read a rain value from a sensor defined like this:
- platform: command_line
name: rain_in_24
command: "curl -s https://aprs.fi/weather/a/FW6463?range=day | grep 'inches since midnight' | cut -d',' -f 2 | cut -c2-4"
scan_interval: 3600
value_template: "{{ value | float }}"
currl command returns string ‘0.3’
$ curl -s APRS/CWOP weather report from FW6463 – Google Maps APRS | grep ‘inches since midnight’ | cut -d’,’ -f 2 | cut -c2-4
0.3
When I look at the entity history in lovelace I see it like this, which I am wondering whether it came in as string or as float
I was expecting to see it as a graph. Any feedback why is not like a graph but like a bar?
TYA