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

Namespaces

 sensor
 

Functions

def send_data (name, msg)
 
bool setup (HomeAssistant hass, ConfigType config)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 CONFIG_SCHEMA
 
string DOMAIN = "dweet"
 
 MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=1)
 

Detailed Description

Support for sending data to Dweet.io.

Function Documentation

◆ send_data()

def homeassistant.components.dweet.send_data (   name,
  msg 
)
Send the collected data to Dweet.io.

Definition at line 75 of file __init__.py.

◆ setup()

bool homeassistant.components.dweet.setup ( HomeAssistant  hass,
ConfigType  config 
)
Set up the Dweet.io component.

Definition at line 43 of file __init__.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 22 of file __init__.py.

◆ CONFIG_SCHEMA

homeassistant.components.dweet.CONFIG_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  DOMAIN: vol.Schema(
4  {
5  vol.Required(CONF_NAME): cv.string,
6  vol.Required(CONF_WHITELIST, default=[]): vol.All(
7  cv.ensure_list, [cv.entity_id]
8  ),
9  }
10  )
11  },
12  extra=vol.ALLOW_EXTRA,
13 )

Definition at line 28 of file __init__.py.

◆ DOMAIN

string homeassistant.components.dweet.DOMAIN = "dweet"

Definition at line 24 of file __init__.py.

◆ MIN_TIME_BETWEEN_UPDATES

homeassistant.components.dweet.MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=1)

Definition at line 26 of file __init__.py.