Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 102840

API value from JSON

$
0
0

Hello, I’m trying to read a value from JSON, but so far without success. At https://api.coinbase.com/v2/prices/spot?currency=EUR I get the data:

{"data":{"base":"BTC","currency":"EUR","amount":"36142.35"}}

With value_template: this should be easy, right? Perhaps the value can also be formatted in a more meaningful way? For example 25.123 instead of 25123.63?
Thanks for any help!

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 102840

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>