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

Variables

list ALLOWED_DAYS = [*WEEKDAYS, "holiday"]
 
string CONF_ADD_HOLIDAYS = "add_holidays"
 
string CONF_CATEGORY = "category"
 
string CONF_EXCLUDES = "excludes"
 
string CONF_OFFSET = "days_offset"
 
string CONF_PROVINCE = "province"
 
string CONF_REMOVE_HOLIDAYS = "remove_holidays"
 
string CONF_WORKDAYS = "workdays"
 
list DEFAULT_EXCLUDES = ["sat", "sun", "holiday"]
 
string DEFAULT_NAME = "Workday Sensor"
 
int DEFAULT_OFFSET = 0
 
list DEFAULT_WORKDAYS = ["mon", "tue", "wed", "thu", "fri"]
 
string DOMAIN = "workday"
 
 LOGGER = logging.getLogger(__package__)
 
list PLATFORMS = [Platform.BINARY_SENSOR]
 

Detailed Description

Add constants for Workday integration.

Variable Documentation

◆ ALLOWED_DAYS

list homeassistant.components.workday.const.ALLOWED_DAYS = [*WEEKDAYS, "holiday"]

Definition at line 11 of file const.py.

◆ CONF_ADD_HOLIDAYS

string homeassistant.components.workday.const.CONF_ADD_HOLIDAYS = "add_holidays"

Definition at line 20 of file const.py.

◆ CONF_CATEGORY

string homeassistant.components.workday.const.CONF_CATEGORY = "category"

Definition at line 22 of file const.py.

◆ CONF_EXCLUDES

string homeassistant.components.workday.const.CONF_EXCLUDES = "excludes"

Definition at line 18 of file const.py.

◆ CONF_OFFSET

string homeassistant.components.workday.const.CONF_OFFSET = "days_offset"

Definition at line 19 of file const.py.

◆ CONF_PROVINCE

string homeassistant.components.workday.const.CONF_PROVINCE = "province"

Definition at line 16 of file const.py.

◆ CONF_REMOVE_HOLIDAYS

string homeassistant.components.workday.const.CONF_REMOVE_HOLIDAYS = "remove_holidays"

Definition at line 21 of file const.py.

◆ CONF_WORKDAYS

string homeassistant.components.workday.const.CONF_WORKDAYS = "workdays"

Definition at line 17 of file const.py.

◆ DEFAULT_EXCLUDES

list homeassistant.components.workday.const.DEFAULT_EXCLUDES = ["sat", "sun", "holiday"]

Definition at line 27 of file const.py.

◆ DEFAULT_NAME

string homeassistant.components.workday.const.DEFAULT_NAME = "Workday Sensor"

Definition at line 28 of file const.py.

◆ DEFAULT_OFFSET

int homeassistant.components.workday.const.DEFAULT_OFFSET = 0

Definition at line 29 of file const.py.

◆ DEFAULT_WORKDAYS

list homeassistant.components.workday.const.DEFAULT_WORKDAYS = ["mon", "tue", "wed", "thu", "fri"]

Definition at line 25 of file const.py.

◆ DOMAIN

string homeassistant.components.workday.const.DOMAIN = "workday"

Definition at line 13 of file const.py.

◆ LOGGER

homeassistant.components.workday.const.LOGGER = logging.getLogger(__package__)

Definition at line 9 of file const.py.

◆ PLATFORMS

list homeassistant.components.workday.const.PLATFORMS = [Platform.BINARY_SENSOR]

Definition at line 14 of file const.py.