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

Namespaces

 binary_sensor
 
 button
 
 config_flow
 
 const
 
 coordinator
 
 entity
 
 fan
 
 sensor
 
 switch
 

Functions

None _async_import (HomeAssistant hass, ConfigType config)
 
bool async_setup (HomeAssistant hass, ConfigType hass_config)
 
bool async_setup_entry (HomeAssistant hass, SmartyConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, SmartyConfigEntry entry)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 CONFIG_SCHEMA
 
list PLATFORMS
 

Detailed Description

Support to control a Salda Smarty XP/XV ventilation unit.

Function Documentation

◆ _async_import()

None homeassistant.components.smarty._async_import ( HomeAssistant  hass,
ConfigType  config 
)
private
Set up the smarty environment.

Definition at line 49 of file __init__.py.

◆ async_setup()

bool homeassistant.components.smarty.async_setup ( HomeAssistant  hass,
ConfigType  hass_config 
)
Create a smarty system.

Definition at line 42 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.smarty.async_setup_entry ( HomeAssistant  hass,
SmartyConfigEntry  entry 
)
Set up the Smarty environment from a config entry.

Definition at line 90 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.smarty.async_unload_entry ( HomeAssistant  hass,
SmartyConfigEntry  entry 
)
Unload a config entry.

Definition at line 104 of file __init__.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 19 of file __init__.py.

◆ CONFIG_SCHEMA

homeassistant.components.smarty.CONFIG_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  DOMAIN: vol.Schema(
4  {
5  vol.Required(CONF_HOST): vol.All(ipaddress.ip_address, cv.string),
6  vol.Optional(CONF_NAME, default="Smarty"): cv.string,
7  }
8  )
9  },
10  extra=vol.ALLOW_EXTRA,
11 )

Definition at line 21 of file __init__.py.

◆ PLATFORMS

list homeassistant.components.smarty.PLATFORMS
Initial value:
1 = [
2  Platform.BINARY_SENSOR,
3  Platform.BUTTON,
4  Platform.FAN,
5  Platform.SENSOR,
6  Platform.SWITCH,
7 ]

Definition at line 33 of file __init__.py.