Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.switcher_kis.sensor Namespace Reference

Classes

class  SwitcherSensorEntity
 

Functions

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

Variables

 device_class
 
 entity_registry_enabled_default
 
 key
 
 native_unit_of_measurement
 
 POWER_PLUG_SENSORS = POWER_SENSORS
 
 state_class
 
 THERMOSTAT_SENSORS = TEMPERATURE_SENSORS
 
 translation_key
 
list WATER_HEATER_SENSORS = [*POWER_SENSORS, *TIME_SENSORS]
 

Detailed Description

Switcher integration Sensor platform.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.switcher_kis.sensor.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up Switcher sensor from config entry.

Definition at line 61 of file sensor.py.

Variable Documentation

◆ device_class

homeassistant.components.switcher_kis.sensor.device_class

Definition at line 28 of file sensor.py.

◆ entity_registry_enabled_default

homeassistant.components.switcher_kis.sensor.entity_registry_enabled_default

Definition at line 46 of file sensor.py.

◆ key

homeassistant.components.switcher_kis.sensor.key

Definition at line 26 of file sensor.py.

◆ native_unit_of_measurement

homeassistant.components.switcher_kis.sensor.native_unit_of_measurement

Definition at line 27 of file sensor.py.

◆ POWER_PLUG_SENSORS

homeassistant.components.switcher_kis.sensor.POWER_PLUG_SENSORS = POWER_SENSORS

Definition at line 56 of file sensor.py.

◆ state_class

homeassistant.components.switcher_kis.sensor.state_class

Definition at line 29 of file sensor.py.

◆ THERMOSTAT_SENSORS

homeassistant.components.switcher_kis.sensor.THERMOSTAT_SENSORS = TEMPERATURE_SENSORS

Definition at line 58 of file sensor.py.

◆ translation_key

homeassistant.components.switcher_kis.sensor.translation_key

Definition at line 41 of file sensor.py.

◆ WATER_HEATER_SENSORS

list homeassistant.components.switcher_kis.sensor.WATER_HEATER_SENSORS = [*POWER_SENSORS, *TIME_SENSORS]

Definition at line 57 of file sensor.py.