You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update coinbase.markdown
Delete trailing spaces
Keep example configuration minimal
Add new `account_balance_currencies` option
* Added a full configuration example
Copy file name to clipboardExpand all lines: source/_components/coinbase.markdown
+27-7Lines changed: 27 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,6 @@ ha_release: 0.61
13
13
ha_iot_class: "Cloud Polling"
14
14
---
15
15
16
-
17
16
The `coinbase` component lets you access account balances and exchange rates from [coinbase](https://coinbase.com).
18
17
19
18
You will need to obtain an API key from coinbase's [developer site](https://www.coinbase.com/settings/api) to use this component. You need to give read access to `wallet:accounts` in order for the component to access relevant data.
@@ -25,12 +24,8 @@ To set it up, add the following information to your `configuration.yaml` file:
25
24
```yaml
26
25
# Example configuration.yaml entry
27
26
coinbase:
28
-
api_key: YOUR_API_KEY
29
-
api_secret: YOUR_API_SECRET
30
-
exchange_rate_currencies:
31
-
- BTC
32
-
- ETH
33
-
- LTC
27
+
api_key: YOUR_API_KEY
28
+
api_secret: YOUR_API_SECRET
34
29
```
35
30
36
31
{% configuration %}
@@ -42,8 +37,33 @@ api_secret:
42
37
description: Your API secret to access coinbase.
43
38
required: true
44
39
type: string
40
+
account_balance_currencies:
41
+
description: List of currencies to create account wallet sensors for.
42
+
required: false
43
+
type: list
44
+
default: all account wallets
45
45
exchange_rate_currencies:
46
46
description: List of currencies to create exchange rate sensors for.
47
47
required: false
48
48
type: list
49
49
{% endconfiguration %}
50
+
51
+
Possible currencies are codes that conform to the ISO 4217 standard where possible. Currencies which have or had no representation in ISO 4217 may use a custom code (e.g. BTC). A list of values can be obtained via https://api.coinbase.com/v2/currencies, for more information visit [the Coinbase API documentation](https://developers.coinbase.com/api/v2#get-currencies).
52
+
53
+
## {% linkable_title Full configuration example %}
54
+
55
+
A full configuration sample including optional variables:
0 commit comments