Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.kostal_plenticore.switch Namespace Reference

Classes

class  PlenticoreDataSwitch
 
class  PlenticoreSwitchEntityDescription
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
list SWITCH_SETTINGS_DATA
 

Detailed Description

Platform for Kostal Plenticore switches.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.kostal_plenticore.switch.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Add kostal plenticore Switch.

Definition at line 50 of file switch.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.kostal_plenticore.switch._LOGGER = logging.getLogger(__name__)
private

Definition at line 21 of file switch.py.

◆ SWITCH_SETTINGS_DATA

list homeassistant.components.kostal_plenticore.switch.SWITCH_SETTINGS_DATA
Initial value:
1 = [
2  PlenticoreSwitchEntityDescription(
3  module_id="devices:local",
4  key="Battery:Strategy",
5  name="Battery Strategy",
6  is_on="1",
7  on_value="1",
8  on_label="Automatic",
9  off_value="2",
10  off_label="Automatic economical",
11  ),
12 ]

Definition at line 36 of file switch.py.