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

Functions

bool setup (HomeAssistant hass, ConfigType config)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 CONFIG_SCHEMA
 
string DOMAIN = "thingspeak"
 
int TIMEOUT = 5
 

Detailed Description

Support for submitting data to Thingspeak.

Function Documentation

◆ setup()

bool homeassistant.components.thingspeak.setup ( HomeAssistant  hass,
ConfigType  config 
)
Set up the Thingspeak environment.

Definition at line 41 of file __init__.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 21 of file __init__.py.

◆ CONFIG_SCHEMA

homeassistant.components.thingspeak.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_ID): int,
7  vol.Required(CONF_WHITELIST): cv.string,
8  }
9  )
10  },
11  extra=vol.ALLOW_EXTRA,
12 )

Definition at line 27 of file __init__.py.

◆ DOMAIN

string homeassistant.components.thingspeak.DOMAIN = "thingspeak"

Definition at line 23 of file __init__.py.

◆ TIMEOUT

int homeassistant.components.thingspeak.TIMEOUT = 5

Definition at line 25 of file __init__.py.