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

Namespaces

 binary_sensor
 
 climate
 
 config_flow
 
 const
 
 coordinator
 
 entity
 
 helpers
 
 oauth2
 
 sensor
 
 switch
 

Functions

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

Variables

 CONFIG_SCHEMA
 
list PLATFORMS
 

Detailed Description

Support for Toon van Eneco devices.

Function Documentation

◆ async_migrate_entry()

bool homeassistant.components.toon.async_migrate_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Handle migration of a previous version config entry.

Definition at line 68 of file __init__.py.

◆ async_setup()

bool homeassistant.components.toon.async_setup ( HomeAssistant  hass,
ConfigType  config 
)
Set up the Toon components.

Definition at line 52 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.toon.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Set up Toon from a config entry.

Definition at line 87 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.toon.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Unload Toon config entry.

Definition at line 132 of file __init__.py.

Variable Documentation

◆ CONFIG_SCHEMA

homeassistant.components.toon.CONFIG_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  DOMAIN: vol.All(
4  cv.deprecated(CONF_SCAN_INTERVAL),
5  vol.Schema(
6  {
7  vol.Required(CONF_CLIENT_ID): cv.string,
8  vol.Required(CONF_CLIENT_SECRET): cv.string,
9  vol.Optional(
10  CONF_SCAN_INTERVAL, default=DEFAULT_SCAN_INTERVAL
11  ): cv.positive_time_period,
12  }
13  ),
14  )
15  },
16  extra=vol.ALLOW_EXTRA,
17 )

Definition at line 33 of file __init__.py.

◆ PLATFORMS

list homeassistant.components.toon.PLATFORMS
Initial value:
1 = [
2  Platform.BINARY_SENSOR,
3  Platform.CLIMATE,
4  Platform.SENSOR,
5  Platform.SWITCH,
6 ]

Definition at line 25 of file __init__.py.