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

Namespaces

 binary_sensor
 
 config_flow
 
 const
 
 entity
 
 sensor
 
 water_heater
 

Functions

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

Variables

dictionary PLATFORM_LOOKUP
 
list PLATFORMS
 

Detailed Description

Support for the OSO Energy devices and services.

Function Documentation

◆ async_setup_entry()

bool homeassistant.components.osoenergy.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Set up OSO Energy from a config entry.

Definition at line 29 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.osoenergy.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Unload a config entry.

Definition at line 58 of file __init__.py.

Variable Documentation

◆ PLATFORM_LOOKUP

dictionary homeassistant.components.osoenergy.PLATFORM_LOOKUP
Initial value:
1 = {
2  Platform.BINARY_SENSOR: "binary_sensor",
3  Platform.SENSOR: "sensor",
4  Platform.WATER_HEATER: "water_heater",
5 }

Definition at line 22 of file __init__.py.

◆ PLATFORMS

list homeassistant.components.osoenergy.PLATFORMS
Initial value:
1 = [
2  Platform.BINARY_SENSOR,
3  Platform.SENSOR,
4  Platform.WATER_HEATER,
5 ]

Definition at line 17 of file __init__.py.