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

Namespaces

 api
 
 binary_sensor
 
 config_flow
 
 const
 
 sensor
 
 switch
 

Classes

class  SmappeeBase
 

Functions

bool async_setup (HomeAssistant hass, ConfigType config)
 
bool async_setup_entry (HomeAssistant hass, SmappeeConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, SmappeeConfigEntry entry)
 

Variables

 CONFIG_SCHEMA
 
 SmappeeConfigEntry
 

Detailed Description

The Smappee integration.

Function Documentation

◆ async_setup()

bool homeassistant.components.smappee.async_setup ( HomeAssistant  hass,
ConfigType  config 
)
Set up the Smappee component.

Definition at line 43 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.smappee.async_setup_entry ( HomeAssistant  hass,
SmappeeConfigEntry  entry 
)
Set up Smappee from a zeroconf or config entry.

Definition at line 77 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.smappee.async_unload_entry ( HomeAssistant  hass,
SmappeeConfigEntry  entry 
)
Unload a config entry.

Definition at line 115 of file __init__.py.

Variable Documentation

◆ CONFIG_SCHEMA

homeassistant.components.smappee.CONFIG_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  DOMAIN: vol.Schema(
4  {
5  vol.Required(CONF_CLIENT_ID): cv.string,
6  vol.Required(CONF_CLIENT_SECRET): cv.string,
7  }
8  )
9  },
10  extra=vol.ALLOW_EXTRA,
11 )

Definition at line 30 of file __init__.py.

◆ SmappeeConfigEntry

homeassistant.components.smappee.SmappeeConfigEntry

Definition at line 28 of file __init__.py.