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

Namespaces

 binary_sensor
 
 button
 
 climate
 
 config_flow
 
 const
 
 coordinator
 
 diagnostics
 
 entity
 
 number
 
 select
 
 sensor
 
 switch
 
 util
 

Functions

dict[str, Any]|None async_migrate_entity_entry (er.RegistryEntry entry)
 
bool async_setup_entry (HomeAssistant hass, PlugwiseConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, PlugwiseConfigEntry entry)
 
None migrate_sensor_entities (HomeAssistant hass, PlugwiseDataUpdateCoordinator coordinator)
 

Variables

 PlugwiseConfigEntry
 

Detailed Description

Plugwise platform for Home Assistant Core.

Function Documentation

◆ async_migrate_entity_entry()

dict[str, Any] | None homeassistant.components.plugwise.async_migrate_entity_entry ( er.RegistryEntry  entry)
Migrate Plugwise entity entries.

- Migrates old unique ID's from old binary_sensors and switches to the new unique ID's

Definition at line 50 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.plugwise.async_setup_entry ( HomeAssistant  hass,
PlugwiseConfigEntry  entry 
)
Set up Plugwise components from a config entry.

Definition at line 18 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.plugwise.async_unload_entry ( HomeAssistant  hass,
PlugwiseConfigEntry  entry 
)
Unload the Plugwise components.

Definition at line 44 of file __init__.py.

◆ migrate_sensor_entities()

None homeassistant.components.plugwise.migrate_sensor_entities ( HomeAssistant  hass,
PlugwiseDataUpdateCoordinator  coordinator 
)
Migrate Sensors if needed.

Definition at line 76 of file __init__.py.

Variable Documentation

◆ PlugwiseConfigEntry

homeassistant.components.plugwise.PlugwiseConfigEntry

Definition at line 15 of file __init__.py.