SYMBOL INDEX (244 symbols across 18 files) FILE: custom_components/o365/__init__.py function async_setup (line 45) | async def async_setup(hass, config): function _async_setup_account (line 61) | async def _async_setup_account(hass, account_conf, conf_type): function _try_authentication (line 105) | def _try_authentication(perms, credentials, main_resource): function _async_check_token (line 126) | async def _async_check_token(hass, account, account_name): function _validate_shared_schema (line 159) | def _validate_shared_schema(account_name, main_account, config): function _async_authorization_repair (line 188) | async def _async_authorization_repair( function _async_setup_migration_service (line 232) | async def _async_setup_migration_service(hass, config): class _IncreaseIndent (line 239) | class _IncreaseIndent(yaml.Dumper): method increase_indent (line 240) | def increase_indent(self, flow=False, indentless=False): FILE: custom_components/o365/calendar.py function async_setup_platform (line 100) | async def async_setup_platform(hass, config, add_entities, discovery_inf... function _async_setup_add_entities (line 130) | async def _async_setup_add_entities( function _build_entity_id (line 171) | def _build_entity_id(hass, entity, conf): function _async_setup_register_services (line 189) | async def _async_setup_register_services(hass, account, update_supported): class O365CalendarEntity (line 221) | class O365CalendarEntity(CalendarEntity): method __init__ (line 226) | def __init__( method _init_data (line 257) | def _init_data(self, calendar_id, entity): method extra_state_attributes (line 271) | def extra_state_attributes(self): method event (line 288) | def event(self): method name (line 293) | def name(self): method unique_id (line 298) | def unique_id(self): method async_get_events (line 304) | async def async_get_events(self, hass, start_date, end_date): method async_update (line 308) | async def async_update(self): method async_create_event (line 339) | async def async_create_event(self, **kwargs: Any) -> None: method async_update_event (line 356) | async def async_update_event( method async_delete_event (line 382) | async def async_delete_event( method async_create_calendar_event (line 391) | async def async_create_calendar_event(self, subject, start, end, **kwa... method async_modify_calendar_event (line 405) | async def async_modify_calendar_event( method _async_update_calendar_event (line 438) | async def _async_update_calendar_event( method async_remove_calendar_event (line 447) | async def async_remove_calendar_event( method _log_error (line 470) | def _log_error(self, error, err): method _async_delete_calendar_event (line 477) | async def _async_delete_calendar_event(self, event_id, ha_event): method async_respond_calendar_event (line 485) | async def async_respond_calendar_event( method _async_send_response (line 500) | async def _async_send_response(self, event_id, response, send_response... method _async_get_event_from_calendar (line 522) | async def _async_get_event_from_calendar(self, event_id): method _validate_permissions (line 526) | def _validate_permissions(self, error_message): method _raise_event (line 541) | def _raise_event(self, event_type, event_id): class O365CalendarData (line 549) | class O365CalendarData: method __init__ (line 552) | def __init__( method async_calendar_data_init (line 575) | async def async_calendar_data_init(self, hass): method _async_get_calendar (line 586) | async def _async_get_calendar(self, hass): method async_o365_get_events (line 600) | async def async_o365_get_events(self, hass, start_date, end_date): method _filter_events (line 617) | def _filter_events(self, events): method _sort_events (line 633) | def _sort_events(self, events): method _async_calendar_schedule_get_events (line 645) | async def _async_calendar_schedule_get_events( method async_get_events (line 683) | async def async_get_events(self, hass, start_date, end_date): method async_update (line 710) | async def async_update(self, hass): method _get_root_event (line 753) | def _get_root_event(self, results): method is_all_day (line 784) | def is_all_day(vevent): method is_started (line 789) | def is_started(vevent): method is_finished (line 794) | def is_finished(vevent): method to_datetime (line 799) | def to_datetime(obj): class CalendarServices (line 822) | class CalendarServices: method __init__ (line 825) | def __init__(self, hass, account): method async_scan_for_calendars (line 830) | async def async_scan_for_calendars(self, call): # pylint: disable=unu... function _group_calendar_log (line 853) | def _group_calendar_log(entity_id): FILE: custom_components/o365/classes/entity.py class O365Entity (line 9) | class O365Entity(CoordinatorEntity): method __init__ (line 15) | def __init__(self, coordinator, config, name, entity_id, entity_type, ... method name (line 25) | def name(self): method entity_key (line 30) | def entity_key(self): method unique_id (line 35) | def unique_id(self): method _validate_permissions (line 39) | def _validate_permissions(self, required_permission, required_permissi... FILE: custom_components/o365/classes/mailsensor.py class O365MailSensor (line 42) | class O365MailSensor(O365Entity, SensorEntity): method __init__ (line 47) | def __init__(self, coordinator, config, sensor_conf, name, entity_id, ... method native_value (line 58) | def native_value(self): method extra_state_attributes (line 63) | def extra_state_attributes(self): method _handle_coordinator_update (line 67) | def _handle_coordinator_update(self) -> None: method _update_status (line 71) | def _update_status(self) -> None: method _get_attributes (line 78) | def _get_attributes(self, data): class O365AutoReplySensor (line 87) | class O365AutoReplySensor(O365Entity, SensorEntity): method __init__ (line 92) | def __init__(self, coordinator, name, entity_id, config, unique_id): method async_init (line 101) | async def async_init(self, hass): method native_value (line 106) | def native_value(self): method extra_state_attributes (line 111) | def extra_state_attributes(self): method async_auto_reply_enable (line 122) | async def async_auto_reply_enable( method async_auto_reply_disable (line 143) | async def async_auto_reply_disable(self): method _validate_autoreply_permissions (line 150) | def _validate_autoreply_permissions(self): function _async_build_base_query (line 158) | async def _async_build_base_query(sensor_conf, builder): function async_build_inbox_query (line 186) | async def async_build_inbox_query(sensor_conf, builder: QueryBuilder): function async_build_query_query (line 200) | async def async_build_query_query(sensor_conf, builder: QueryBuilder): function _add_to_query (line 235) | def _add_to_query( FILE: custom_components/o365/classes/permissions.py class Permissions (line 54) | class Permissions: method __init__ (line 57) | def __init__(self, hass, config, conf_type): method requested_permissions (line 71) | def requested_permissions(self): method permissions (line 85) | def permissions(self): method async_check_authorizations (line 89) | async def async_check_authorizations(self): method validate_authorization (line 117) | def validate_authorization(self, permission): method _check_higher_permissions (line 141) | def _check_higher_permissions(self, permission): method _build_token_filename (line 158) | def _build_token_filename(self): method _get_permissions (line 167) | def _get_permissions(self): method _build_calendar_permissions (line 190) | def _build_calendar_permissions(self): method _build_group_permissions (line 209) | def _build_group_permissions(self): method _build_email_permissions (line 216) | def _build_email_permissions(self): method _build_autoreply_permissions (line 222) | def _build_autoreply_permissions(self): method _build_status_permissions (line 227) | def _build_status_permissions(self): method _build_chat_permissions (line 241) | def _build_chat_permissions(self): method _build_todo_permissions (line 249) | def _build_todo_permissions(self): method delete_token (line 257) | def delete_token(self): FILE: custom_components/o365/classes/teamssensor.py class O365TeamsSensor (line 43) | class O365TeamsSensor(O365Entity): method __init__ (line 48) | def __init__(self, cordinator, name, entity_id, config, entity_type, u... method native_value (line 55) | def native_value(self): class O365TeamsStatusSensor (line 60) | class O365TeamsStatusSensor(O365TeamsSensor, SensorEntity): method __init__ (line 63) | def __init__(self, coordinator, name, entity_id, config, unique_id, em... method async_update_user_status (line 75) | async def async_update_user_status( method async_update_user_preferred_status (line 104) | async def async_update_user_preferred_status( method _raise_event (line 137) | def _raise_event(self, event_type, status): method _validate_status_permissions (line 144) | def _validate_status_permissions(self): class O365TeamsChatSensor (line 151) | class O365TeamsChatSensor(O365TeamsSensor, SensorEntity): method __init__ (line 154) | def __init__(self, coordinator, name, entity_id, config, unique_id): method extra_state_attributes (line 161) | def extra_state_attributes(self): method async_send_chat_message (line 183) | async def async_send_chat_message(self, chat_id, message, content_type): method _raise_event (line 201) | def _raise_event(self, event_type, chat_id): method _validate_chat_permissions (line 208) | def _validate_chat_permissions(self): FILE: custom_components/o365/const.py class EventResponse (line 6) | class EventResponse(Enum): FILE: custom_components/o365/helpers/coordinator.py class O365SensorCordinator (line 74) | class O365SensorCordinator(DataUpdateCoordinator): method __init__ (line 77) | def __init__(self, hass, config): method async_setup_entries (line 99) | async def async_setup_entries(self): method _async_status_sensors (line 108) | async def _async_status_sensors(self): method _chat_sensors (line 132) | def _chat_sensors(self): method _async_todo_sensors (line 150) | async def _async_todo_sensors(self): method _async_todo_entities (line 170) | async def _async_todo_entities(self, o365_task_lists): method _async_auto_reply_sensors (line 215) | async def _async_auto_reply_sensors(self): method _async_update_data (line 232) | async def _async_update_data(self): method _async_teams_status_update (line 251) | async def _async_teams_status_update(self, key): method _async_teams_chat_update (line 266) | async def _async_teams_chat_update(self, key): method _process_chat_messages (line 304) | def _process_chat_messages(self, messages): method _async_get_memberlist (line 321) | async def _async_get_memberlist(self, chat): method _async_todos_update (line 336) | async def _async_todos_update(self, key): method _async_todos_update_query (line 352) | async def _async_todos_update_query(self, key, error): method _async_auto_reply_update (line 375) | async def _async_auto_reply_update(self, key): class O365EmailCordinator (line 387) | class O365EmailCordinator(DataUpdateCoordinator): method __init__ (line 390) | def __init__(self, hass, config): method async_setup_entries (line 413) | async def async_setup_entries(self): method _async_email_sensors (line 420) | async def _async_email_sensors(self): method _async_query_sensors (line 456) | async def _async_query_sensors(self): method _async_get_mail_folder (line 492) | async def _async_get_mail_folder(self, sensor_conf, sensor_type): method _async_get_configured_mail_folder (line 503) | async def _async_get_configured_mail_folder( method _async_update_data (line 529) | async def _async_update_data(self): method _async_email_update (line 539) | async def _async_email_update(self, key): function _build_entity_id (line 562) | def _build_entity_id(hass, entity_id_format, name): function _async_delete_redundant_sensors (line 571) | async def _async_delete_redundant_sensors(ent_reg, unique_id): FILE: custom_components/o365/helpers/migration.py class Unread (line 61) | class Unread(StrEnum): class Attachment (line 69) | class Attachment(StrEnum): class ImportanceLevel (line 77) | class ImportanceLevel(StrEnum): class EnableOptions (line 86) | class EnableOptions(StrEnum): class MigrationServices (line 94) | class MigrationServices: method __init__ (line 97) | def __init__(self, hass: HomeAssistant, config): method async_migrate_config (line 103) | async def async_migrate_config(self, call): # pylint: disable=unused-... method _async_migrate_account (line 116) | async def _async_migrate_account(self, config): method _async_migrate_calendar (line 123) | async def _async_migrate_calendar(self, config, base_config_entry): method _async_migrate_mail (line 149) | async def _async_migrate_mail(self, config, base_config_entry): method _async_migrate_teams (line 174) | async def _async_migrate_teams(self, config, base_config_entry): method _async_migrate_todos (line 221) | async def _async_migrate_todos(self, config, base_config_entry): method _async_create_alternate_email_status (line 246) | async def _async_create_alternate_email_status( method _async_mail_sensors (line 264) | async def _async_mail_sensors( method _async_create_entry (line 317) | async def _async_create_entry( method _integration_installed (line 331) | def _integration_installed(self, migrate_domain): method _setup_base (line 339) | def _setup_base(self, config): method _add_attribute (line 347) | def _add_attribute(self, config, entry, attribute_name): FILE: custom_components/o365/helpers/setup.py function do_setup (line 30) | async def do_setup( function _async_sensor_setup (line 58) | async def _async_sensor_setup(hass, account_config): function _async_email_setup (line 68) | async def _async_email_setup(hass, account_config): function _load_platforms (line 78) | def _load_platforms(hass, account_name, config, account_config): FILE: custom_components/o365/notify.py function async_get_service (line 36) | async def async_get_service(hass, config, discovery_info=None): # pylin... class O365EmailService (line 57) | class O365EmailService(BaseNotificationService): method __init__ (line 60) | def __init__(self, account, hass, config): method targets (line 74) | def targets(self): method send_message (line 78) | def send_message(self, message="", **kwargs): method async_send_message (line 82) | async def async_send_message(self, message="", **kwargs): method _build_message (line 120) | def _build_message(self, data, message, new_message_attachments): method _build_photo_content (line 136) | def _build_photo_content(self, photos, new_message_attachments): method _build_attachments (line 154) | def _build_attachments(self, data, new_message_attachments): method _cleanup (line 173) | def _cleanup(self): method _get_ha_filepath (line 177) | def _get_ha_filepath(self, filepath): function zip_files (line 190) | def zip_files(filespaths, zip_name): FILE: custom_components/o365/repairs.py class AuthorizationRepairFlow (line 38) | class AuthorizationRepairFlow(RepairsFlow): method __init__ (line 41) | def __init__( method async_step_init (line 61) | async def async_step_init( method async_step_request_default (line 78) | async def async_step_request_default( method async_step_request_alt (line 103) | async def async_step_request_alt( method _async_validate_response (line 131) | async def _async_validate_response(self, user_input): function async_create_fix_flow (line 183) | async def async_create_fix_flow( class O365AuthCallbackView (line 193) | class O365AuthCallbackView(HomeAssistantView): method __init__ (line 200) | def __init__(self): method get (line 205) | async def get(self, request): function get_callback_url (line 215) | def get_callback_url(hass, alt_config): FILE: custom_components/o365/schema.py function _has_consistent_timezone (line 118) | def _has_consistent_timezone(*keys: Any) -> Callable[[dict[str, Any]], d... function _as_local_timezone (line 136) | def _as_local_timezone(*keys: Any) -> Callable[[dict[str, Any]], dict[st... FILE: custom_components/o365/sensor.py function async_setup_platform (line 44) | async def async_setup_platform(hass, config, async_add_entities, discove... function _async_sensor_entities (line 66) | async def _async_sensor_entities(conf, hass): function _email_entities (line 119) | def _email_entities(conf): function _async_setup_register_services (line 139) | async def _async_setup_register_services(config): function _async_setup_status_services (line 146) | async def _async_setup_status_services(config, perms): function _async_setup_chat_services (line 170) | async def _async_setup_chat_services(config, perms): function _async_setup_mailbox_services (line 187) | async def _async_setup_mailbox_services(config, perms): FILE: custom_components/o365/todo.py function async_setup_platform (line 68) | async def async_setup_platform(hass, config, async_add_entities, discove... function _async_setup_register_services (line 106) | async def _async_setup_register_services(hass, config): function _async_setup_task_services (line 111) | async def _async_setup_task_services(hass, config, perms): class O365TodoList (line 149) | class O365TodoList(O365Entity, TodoListEntity): # pylint: disable=abstr... method __init__ (line 152) | def __init__( method state (line 187) | def state(self): method todo_items (line 192) | def todo_items(self): method extra_state_attributes (line 197) | def extra_state_attributes(self): method _handle_coordinator_update (line 201) | def _handle_coordinator_update(self) -> None: method _update_status (line 205) | def _update_status(self, hass): method _update_extra_state_attributes (line 252) | def _update_extra_state_attributes(self, todos): method async_create_todo_item (line 293) | async def async_create_todo_item(self, item: TodoItem) -> None: method async_new_todo (line 299) | async def async_new_todo(self, subject, description=None, due=None, re... method async_update_todo_item (line 311) | async def async_update_todo_item(self, item: TodoItem) -> None: method async_update_todo (line 340) | async def async_update_todo( method async_delete_todo_items (line 365) | async def async_delete_todo_items(self, uids: list[str]) -> None: method async_delete_todo (line 370) | async def async_delete_todo(self, todo_id): method async_complete_todo (line 383) | async def async_complete_todo(self, todo_id, completed, o365_task=None): method _async_complete_task (line 400) | async def _async_complete_task(self, o365_task, todo_id): method _async_uncomplete_task (line 411) | async def _async_uncomplete_task(self, o365_task, todo_id): method _async_save_task (line 421) | async def _async_save_task( method _raise_event (line 453) | def _raise_event(self, event_type, todo_id): method _validate_task_permissions (line 460) | def _validate_task_permissions(self): function _raise_event_external (line 467) | def _raise_event_external(hass, event_type, todo_id, time_type, task_dat... function async_build_todo_query (line 475) | async def async_build_todo_query(builder: QueryBuilder, key): class O365TodoEntityServices (line 495) | class O365TodoEntityServices: method __init__ (line 498) | def __init__(self, hass): method async_scan_for_todo_lists (line 502) | async def async_scan_for_todo_lists(self, call): # pylint: disable=un... FILE: custom_components/o365/utils/calendar_utils.py function format_event_data (line 25) | def format_event_data(event): function get_hass_date (line 45) | def get_hass_date(obj, is_all_day): function get_end_date (line 50) | def get_end_date(obj): function get_start_date (line 61) | def get_start_date(obj): function add_call_data_to_event (line 66) | def add_call_data_to_event(event, subject, start, end, **kwargs): function _add_attribute (line 86) | def _add_attribute(attribute, event_attribute): function _add_attendees (line 90) | def _add_attendees(attendees, event): function _add_all_day (line 101) | def _add_all_day(is_all_day, event): function _rrule_processing (line 113) | def _rrule_processing(event, rrule): function _process_byday (line 150) | def _process_byday(byday): FILE: custom_components/o365/utils/filemgmt.py function load_yaml_file (line 29) | def load_yaml_file(path, item_id, item_schema): function _write_yaml_file (line 50) | def _write_yaml_file(yaml_filepath, yaml_list): function _get_calendar_info (line 57) | def _get_calendar_info(calendar, track_new_devices): function async_update_calendar_file (line 73) | async def async_update_calendar_file(config, calendar, hass, track_new_d... function _get_task_list_info (line 86) | def _get_task_list_info(yaml_task_list, track_new_devices): function async_update_task_list_file (line 97) | async def async_update_task_list_file(config, yaml_task_list, hass, trac... function build_config_file_path (line 110) | def build_config_file_path(hass, filepath): function build_yaml_filename (line 117) | def build_yaml_filename(conf, filename, conf_type=None): FILE: custom_components/o365/utils/utils.py function clean_html (line 29) | def clean_html(html): function _safe_html (line 47) | def _safe_html(html): function get_email_attributes (line 60) | def get_email_attributes(mail, download_attachments, html_body, show_body): function build_account_config (line 87) | def build_account_config(config, account, is_authenticated, conf_type, p...