Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.emoncms_history Namespace Reference

Functions

bool setup (HomeAssistant hass, ConfigType config)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string CONF_INPUTNODE = "inputnode"
 
 CONFIG_SCHEMA
 
string DOMAIN = "emoncms_history"
 

Detailed Description

Support for sending data to Emoncms.

Function Documentation

◆ setup()

bool homeassistant.components.emoncms_history.setup ( HomeAssistant  hass,
ConfigType  config 
)
Set up the Emoncms history component.

Definition at line 46 of file __init__.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.emoncms_history._LOGGER = logging.getLogger(__name__)
private

Definition at line 25 of file __init__.py.

◆ CONF_INPUTNODE

string homeassistant.components.emoncms_history.CONF_INPUTNODE = "inputnode"

Definition at line 28 of file __init__.py.

◆ CONFIG_SCHEMA

homeassistant.components.emoncms_history.CONFIG_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  DOMAIN: vol.Schema(
4  {
5  vol.Required(CONF_API_KEY): cv.string,
6  vol.Required(CONF_URL): cv.string,
7  vol.Required(CONF_INPUTNODE): cv.positive_int,
8  vol.Required(CONF_WHITELIST): cv.entity_ids,
9  vol.Optional(CONF_SCAN_INTERVAL, default=30): cv.positive_int,
10  }
11  )
12  },
13  extra=vol.ALLOW_EXTRA,
14 )

Definition at line 30 of file __init__.py.

◆ DOMAIN

string homeassistant.components.emoncms_history.DOMAIN = "emoncms_history"

Definition at line 27 of file __init__.py.