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

Classes

class  HyperionSensor
 
class  HyperionVisiblePrioritySensor
 

Functions

str _sensor_unique_id (str server_id, int instance_num, str suffix)
 
None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

 PRIORITY_SENSOR_DESCRIPTION
 
list SENSORS = [TYPE_HYPERION_SENSOR_VISIBLE_PRIORITY]
 

Detailed Description

Sensor platform for Hyperion.

Function Documentation

◆ _sensor_unique_id()

str homeassistant.components.hyperion.sensor._sensor_unique_id ( str  server_id,
int  instance_num,
str  suffix 
)
private
Calculate a sensor's unique_id.

Definition at line 54 of file sensor.py.

◆ async_setup_entry()

None homeassistant.components.hyperion.sensor.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up a Hyperion platform from config entry.

Definition at line 63 of file sensor.py.

Variable Documentation

◆ PRIORITY_SENSOR_DESCRIPTION

homeassistant.components.hyperion.sensor.PRIORITY_SENSOR_DESCRIPTION
Initial value:
1 = SensorEntityDescription(
2  key="visible_priority",
3  translation_key="visible_priority",
4  icon="mdi:lava-lamp",
5 )

Definition at line 47 of file sensor.py.

◆ SENSORS

list homeassistant.components.hyperion.sensor.SENSORS = [TYPE_HYPERION_SENSOR_VISIBLE_PRIORITY]

Definition at line 46 of file sensor.py.