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

Classes

class  KrakenSensor
 
class  KrakenSensorEntityDescription
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 
str create_device_name (str tracked_asset_pair)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

The kraken integration.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.kraken.sensor.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Add kraken entities from a config_entry.

Definition at line 139 of file sensor.py.

◆ create_device_name()

str homeassistant.components.kraken.sensor.create_device_name ( str  tracked_asset_pair)
Create the device name for a given tracked asset pair.

Definition at line 292 of file sensor.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 33 of file sensor.py.