A Home Assistant Integration for the cryptocurrency trading platform Binance.
Features:
- pull prices of a configurable list of currency pairs (e.g. BTCUSDT, XRPBTC...)
- additional attributes for each currency pair (priceChange, highPrice, lowPrice, volume, ...)
- support configuration via the UI
- fetch personal account balance over secured api
I recommend to install this integration via HACS. Simply search for it
or manually add this repository by using the "three-dots-menu" at the top right in HACS.
Configure the sensor(s) in configuration.yaml
.
- platform: binance
symbols:
- BTCUSDT
- ETHUSDT
- platform: template
sensors:
cena_btc:
value_template: '{{ (states("sensor.binance_ticker_btcusdt")) | round(0)}}'
friendly_name: 'BTCUSDt'
unit_of_measurement: 'USD'
device_class: monetary
icon_template: mdi:currency-btc
cena_eth:
value_template: '{{ (states("sensor.binance_ticker_ethusdt")) | round(0)}}'
friendly_name: 'ETHUSDt'
unit_of_measurement: 'USD'
device_class: monetary
icon_template: mdi:currency-eth