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] |
Add constants for Workday integration.
| list homeassistant.components.workday.const.ALLOWED_DAYS = [*WEEKDAYS, "holiday"] |
| string homeassistant.components.workday.const.CONF_ADD_HOLIDAYS = "add_holidays" |
| string homeassistant.components.workday.const.CONF_CATEGORY = "category" |
| string homeassistant.components.workday.const.CONF_EXCLUDES = "excludes" |
| string homeassistant.components.workday.const.CONF_OFFSET = "days_offset" |
| string homeassistant.components.workday.const.CONF_PROVINCE = "province" |
| string homeassistant.components.workday.const.CONF_REMOVE_HOLIDAYS = "remove_holidays" |
| string homeassistant.components.workday.const.CONF_WORKDAYS = "workdays" |
| list homeassistant.components.workday.const.DEFAULT_EXCLUDES = ["sat", "sun", "holiday"] |
| string homeassistant.components.workday.const.DEFAULT_NAME = "Workday Sensor" |
| int homeassistant.components.workday.const.DEFAULT_OFFSET = 0 |
| list homeassistant.components.workday.const.DEFAULT_WORKDAYS = ["mon", "tue", "wed", "thu", "fri"] |
| string homeassistant.components.workday.const.DOMAIN = "workday" |
| homeassistant.components.workday.const.LOGGER = logging.getLogger(__package__) |