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

Classes

class  RiscoSensor
 

Functions

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

Variables

dictionary CATEGORIES
 
list EVENT_ATTRIBUTES
 

Detailed Description

Sensor for Risco Events.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.risco.sensor.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up sensors for device.

Definition at line 46 of file sensor.py.

Variable Documentation

◆ CATEGORIES

dictionary homeassistant.components.risco.sensor.CATEGORIES
Initial value:
1 = {
2  2: "Alarm",
3  4: "Status",
4  7: "Trouble",
5 }

Definition at line 25 of file sensor.py.

◆ EVENT_ATTRIBUTES

list homeassistant.components.risco.sensor.EVENT_ATTRIBUTES
Initial value:
1 = [
2  "category_id",
3  "category_name",
4  "type_id",
5  "type_name",
6  "name",
7  "text",
8  "partition_id",
9  "zone_id",
10  "user_id",
11  "group",
12  "priority",
13  "raw",
14 ]

Definition at line 30 of file sensor.py.