Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.openuv.binary_sensor Namespace Reference

Classes

class  OpenUvBinarySensor
 

Functions

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

Variables

string ATTR_PROTECTION_WINDOW_ENDING_TIME = "end_time"
 
string ATTR_PROTECTION_WINDOW_ENDING_UV = "end_uv"
 
string ATTR_PROTECTION_WINDOW_STARTING_TIME = "start_time"
 
string ATTR_PROTECTION_WINDOW_STARTING_UV = "start_uv"
 
 BINARY_SENSOR_DESCRIPTION_PROTECTION_WINDOW
 

Detailed Description

Support for OpenUV binary sensors.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.openuv.binary_sensor.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Set up an OpenUV sensor based on a config entry.

Definition at line 27 of file binary_sensor.py.

Variable Documentation

◆ ATTR_PROTECTION_WINDOW_ENDING_TIME

string homeassistant.components.openuv.binary_sensor.ATTR_PROTECTION_WINDOW_ENDING_TIME = "end_time"

Definition at line 16 of file binary_sensor.py.

◆ ATTR_PROTECTION_WINDOW_ENDING_UV

string homeassistant.components.openuv.binary_sensor.ATTR_PROTECTION_WINDOW_ENDING_UV = "end_uv"

Definition at line 17 of file binary_sensor.py.

◆ ATTR_PROTECTION_WINDOW_STARTING_TIME

string homeassistant.components.openuv.binary_sensor.ATTR_PROTECTION_WINDOW_STARTING_TIME = "start_time"

Definition at line 18 of file binary_sensor.py.

◆ ATTR_PROTECTION_WINDOW_STARTING_UV

string homeassistant.components.openuv.binary_sensor.ATTR_PROTECTION_WINDOW_STARTING_UV = "start_uv"

Definition at line 19 of file binary_sensor.py.

◆ BINARY_SENSOR_DESCRIPTION_PROTECTION_WINDOW

homeassistant.components.openuv.binary_sensor.BINARY_SENSOR_DESCRIPTION_PROTECTION_WINDOW
Initial value:
1 = BinarySensorEntityDescription(
2  key=TYPE_PROTECTION_WINDOW,
3  translation_key="protection_window",
4 )

Definition at line 21 of file binary_sensor.py.