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

Namespaces

 binary_sensor
 
 climate
 
 config_flow
 
 const
 
 controller
 
 entity
 
 helpers
 
 light
 
 sensor
 
 switch
 

Functions

bool async_setup_entry (HomeAssistant hass, ConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, ConfigEntry entry)
 

Variables

list PLATFORMS
 

Detailed Description

SmartTub integration.

Function Documentation

◆ async_setup_entry()

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

Definition at line 19 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.smarttub.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Remove a smarttub config entry.

Definition at line 36 of file __init__.py.

Variable Documentation

◆ PLATFORMS

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

Definition at line 10 of file __init__.py.