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

Namespaces

 binary_sensor
 
 config_flow
 
 const
 
 diagnostics
 
 repairs
 

Functions

None _async_validate_country_and_province (HomeAssistant hass, ConfigEntry entry, str|None country, str|None province)
 
bool async_setup_entry (HomeAssistant hass, ConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, ConfigEntry entry)
 
None async_update_listener (HomeAssistant hass, ConfigEntry entry)
 

Detailed Description

Sensor to indicate whether the current day is a workday.

Function Documentation

◆ _async_validate_country_and_province()

None homeassistant.components.workday._async_validate_country_and_province ( HomeAssistant  hass,
ConfigEntry  entry,
str | None  country,
str | None   province 
)
private
Validate country and province.

Definition at line 19 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.workday.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Set up Workday from a config entry.

Definition at line 76 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.workday.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Unload Workday config entry.

Definition at line 107 of file __init__.py.

◆ async_update_listener()

None homeassistant.components.workday.async_update_listener ( HomeAssistant  hass,
ConfigEntry  entry 
)
Update listener for options.

Definition at line 102 of file __init__.py.