Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.holiday.calendar Namespace Reference

Classes

class  HolidayCalendarEntity
 

Functions

tuple[HolidayBase, str] _get_obj_holidays_and_language (str country, str|None province, str language)
 
None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Detailed Description

Holiday Calendar.

Function Documentation

◆ _get_obj_holidays_and_language()

tuple[HolidayBase, str] homeassistant.components.holiday.calendar._get_obj_holidays_and_language ( str  country,
str | None  province,
str   language 
)
private
Get the object for the requested country and year.

Definition at line 21 of file calendar.py.

◆ async_setup_entry()

None homeassistant.components.holiday.calendar.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up the Holiday Calendar config entry.

Definition at line 58 of file calendar.py.