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

Namespaces

 config_flow
 
 const
 
 event
 

Classes

class  EventHandler
 
class  Watcher
 

Functions

bool async_setup_entry (HomeAssistant hass, ConfigEntry entry)
 
EventHandler create_event_handler (list[str] patterns, HomeAssistant hass, str entry_id)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

Component for monitoring activity on a folder.

Function Documentation

◆ async_setup_entry()

bool homeassistant.components.folder_watcher.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Set up Folder watcher from a config entry.

Definition at line 32 of file __init__.py.

◆ create_event_handler()

EventHandler homeassistant.components.folder_watcher.create_event_handler ( list[str]  patterns,
HomeAssistant  hass,
str   entry_id 
)
Return the Watchdog EventHandler object.

Definition at line 59 of file __init__.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.folder_watcher._LOGGER = logging.getLogger(__name__)
private

Definition at line 29 of file __init__.py.