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

Classes

class  ElkCounter
 
class  ElkKeypad
 
class  ElkPanel
 
class  ElkSensor
 
class  ElkSetting
 
class  ElkZone
 

Functions

None async_setup_entry (HomeAssistant hass, ElkM1ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 
str|None temperature_to_state (int temperature, int undefined_temperature)
 

Variables

string SERVICE_SENSOR_COUNTER_REFRESH = "sensor_counter_refresh"
 
string SERVICE_SENSOR_COUNTER_SET = "sensor_counter_set"
 
string SERVICE_SENSOR_ZONE_BYPASS = "sensor_zone_bypass"
 
string SERVICE_SENSOR_ZONE_TRIGGER = "sensor_zone_trigger"
 
int UNDEFINED_TEMPERATURE = -40
 
 VolDictType
 

Detailed Description

Support for control of ElkM1 sensors.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.elkm1.sensor.async_setup_entry ( HomeAssistant  hass,
ElkM1ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Create the Elk-M1 sensor platform.

Definition at line 40 of file sensor.py.

◆ temperature_to_state()

str | None homeassistant.components.elkm1.sensor.temperature_to_state ( int  temperature,
int  undefined_temperature 
)
Convert temperature to a state.

Definition at line 80 of file sensor.py.

Variable Documentation

◆ SERVICE_SENSOR_COUNTER_REFRESH

string homeassistant.components.elkm1.sensor.SERVICE_SENSOR_COUNTER_REFRESH = "sensor_counter_refresh"

Definition at line 29 of file sensor.py.

◆ SERVICE_SENSOR_COUNTER_SET

string homeassistant.components.elkm1.sensor.SERVICE_SENSOR_COUNTER_SET = "sensor_counter_set"

Definition at line 30 of file sensor.py.

◆ SERVICE_SENSOR_ZONE_BYPASS

string homeassistant.components.elkm1.sensor.SERVICE_SENSOR_ZONE_BYPASS = "sensor_zone_bypass"

Definition at line 31 of file sensor.py.

◆ SERVICE_SENSOR_ZONE_TRIGGER

string homeassistant.components.elkm1.sensor.SERVICE_SENSOR_ZONE_TRIGGER = "sensor_zone_trigger"

Definition at line 32 of file sensor.py.

◆ UNDEFINED_TEMPERATURE

int homeassistant.components.elkm1.sensor.UNDEFINED_TEMPERATURE = -40

Definition at line 33 of file sensor.py.

◆ VolDictType

homeassistant.components.elkm1.sensor.VolDictType

Definition at line 35 of file sensor.py.