Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.coinbase.sensor Namespace Reference

Classes

class  AccountSensor
 
class  ExchangeRateSensor
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string ATTR_API_VERSION = "API Version"
 
string ATTR_NATIVE_BALANCE = "Balance in native currency"
 
string ATTRIBUTION = "Data provided by coinbase.com"
 
dictionary CURRENCY_ICONS
 
string DEFAULT_COIN_ICON = "mdi:cash"
 

Detailed Description

Support for Coinbase sensors.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.coinbase.sensor.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up Coinbase sensor platform.

Definition at line 46 of file sensor.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.coinbase.sensor._LOGGER = logging.getLogger(__name__)
private

Definition at line 28 of file sensor.py.

◆ ATTR_API_VERSION

string homeassistant.components.coinbase.sensor.ATTR_API_VERSION = "API Version"

Definition at line 31 of file sensor.py.

◆ ATTR_NATIVE_BALANCE

string homeassistant.components.coinbase.sensor.ATTR_NATIVE_BALANCE = "Balance in native currency"

Definition at line 30 of file sensor.py.

◆ ATTRIBUTION

string homeassistant.components.coinbase.sensor.ATTRIBUTION = "Data provided by coinbase.com"

Definition at line 43 of file sensor.py.

◆ CURRENCY_ICONS

dictionary homeassistant.components.coinbase.sensor.CURRENCY_ICONS
Initial value:
1 = {
2  "BTC": "mdi:currency-btc",
3  "ETH": "mdi:currency-eth",
4  "EUR": "mdi:currency-eur",
5  "LTC": "mdi:litecoin",
6  "USD": "mdi:currency-usd",
7 }

Definition at line 33 of file sensor.py.

◆ DEFAULT_COIN_ICON

string homeassistant.components.coinbase.sensor.DEFAULT_COIN_ICON = "mdi:cash"

Definition at line 41 of file sensor.py.