Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.sun.const Namespace Reference

Variables

 Final
 
string SIGNAL_EVENTS_CHANGED = f"{DOMAIN}_events_changed"
 
string SIGNAL_POSITION_CHANGED = f"{DOMAIN}_position_changed"
 
string STATE_ABOVE_HORIZON = "above_horizon"
 
string STATE_ATTR_AZIMUTH = "azimuth"
 
string STATE_ATTR_ELEVATION = "elevation"
 
string STATE_ATTR_NEXT_DAWN = "next_dawn"
 
string STATE_ATTR_NEXT_DUSK = "next_dusk"
 
string STATE_ATTR_NEXT_MIDNIGHT = "next_midnight"
 
string STATE_ATTR_NEXT_NOON = "next_noon"
 
string STATE_ATTR_NEXT_RISING = "next_rising"
 
string STATE_ATTR_NEXT_SETTING = "next_setting"
 
string STATE_ATTR_RISING = "rising"
 
string STATE_BELOW_HORIZON = "below_horizon"
 

Detailed Description

Constants for the Sun integration.

Variable Documentation

◆ Final

homeassistant.components.sun.const.Final

Definition at line 5 of file const.py.

◆ SIGNAL_EVENTS_CHANGED

string homeassistant.components.sun.const.SIGNAL_EVENTS_CHANGED = f"{DOMAIN}_events_changed"

Definition at line 10 of file const.py.

◆ SIGNAL_POSITION_CHANGED

string homeassistant.components.sun.const.SIGNAL_POSITION_CHANGED = f"{DOMAIN}_position_changed"

Definition at line 9 of file const.py.

◆ STATE_ABOVE_HORIZON

string homeassistant.components.sun.const.STATE_ABOVE_HORIZON = "above_horizon"

Definition at line 13 of file const.py.

◆ STATE_ATTR_AZIMUTH

string homeassistant.components.sun.const.STATE_ATTR_AZIMUTH = "azimuth"

Definition at line 17 of file const.py.

◆ STATE_ATTR_ELEVATION

string homeassistant.components.sun.const.STATE_ATTR_ELEVATION = "elevation"

Definition at line 18 of file const.py.

◆ STATE_ATTR_NEXT_DAWN

string homeassistant.components.sun.const.STATE_ATTR_NEXT_DAWN = "next_dawn"

Definition at line 20 of file const.py.

◆ STATE_ATTR_NEXT_DUSK

string homeassistant.components.sun.const.STATE_ATTR_NEXT_DUSK = "next_dusk"

Definition at line 21 of file const.py.

◆ STATE_ATTR_NEXT_MIDNIGHT

string homeassistant.components.sun.const.STATE_ATTR_NEXT_MIDNIGHT = "next_midnight"

Definition at line 22 of file const.py.

◆ STATE_ATTR_NEXT_NOON

string homeassistant.components.sun.const.STATE_ATTR_NEXT_NOON = "next_noon"

Definition at line 23 of file const.py.

◆ STATE_ATTR_NEXT_RISING

string homeassistant.components.sun.const.STATE_ATTR_NEXT_RISING = "next_rising"

Definition at line 24 of file const.py.

◆ STATE_ATTR_NEXT_SETTING

string homeassistant.components.sun.const.STATE_ATTR_NEXT_SETTING = "next_setting"

Definition at line 25 of file const.py.

◆ STATE_ATTR_RISING

string homeassistant.components.sun.const.STATE_ATTR_RISING = "rising"

Definition at line 19 of file const.py.

◆ STATE_BELOW_HORIZON

string homeassistant.components.sun.const.STATE_BELOW_HORIZON = "below_horizon"

Definition at line 14 of file const.py.