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

Namespaces

 config_flow
 
 const
 
 coordinator
 
 sensor
 

Functions

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

Variables

list PLATFORMS = [Platform.SENSOR]
 

Detailed Description

The SRP Energy integration.

Function Documentation

◆ async_setup_entry()

bool homeassistant.components.srp_energy.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Set up the SRP Energy component from a config entry.

Definition at line 15 of file __init__.py.

◆ async_unload_entry()

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

Definition at line 43 of file __init__.py.

Variable Documentation

◆ PLATFORMS

list homeassistant.components.srp_energy.PLATFORMS = [Platform.SENSOR]

Definition at line 12 of file __init__.py.