Are a few days that I discovered HASS, and suddenly I was falled in love!
So… now I would like to gather data from my Blynk server via RESTful API.
The problem is that my Blynk server answer with a simple unformatted (not JSON) string like
["17.300"]
for a float value.
My configuration,yaml is
sensor:
- platform: rest
resource: https://192.168.1.189:9443/2affa38aa6f245d39dff7ff0ff2ec4c7/pin/V8
verify_ssl: false
name: tHome_med
value_template: '{{ value }}'
unit_of_measurement: °C
The HASS display the entiere string that my server return… how I can elimiate the brackets and the quotes to display a true float number?
ERROR (SyncWorker_0) [homeassistant.util.yaml] while parsing a block mapping
in "/config/configuration.yaml", line 105, column 5
expected <block end>, but found '<scalar>'