Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.folder_watcher.Watcher Class Reference

Public Member Functions

None __init__ (self, str path, list[str] patterns, HomeAssistant hass, str entry_id)
 
None shutdown (self, Event|None event)
 
None startup (self, Event|None event)
 

Private Attributes

 _observer
 

Detailed Description

Class for starting Watchdog.

Definition at line 125 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.folder_watcher.Watcher.__init__ (   self,
str  path,
list[str]  patterns,
HomeAssistant  hass,
str   entry_id 
)
Initialise the watchdog observer.

Definition at line 128 of file __init__.py.

Member Function Documentation

◆ shutdown()

None homeassistant.components.folder_watcher.Watcher.shutdown (   self,
Event | None  event 
)
Shutdown the watcher.

Definition at line 146 of file __init__.py.

◆ startup()

None homeassistant.components.folder_watcher.Watcher.startup (   self,
Event | None  event 
)
Start the watcher.

Definition at line 142 of file __init__.py.

Member Data Documentation

◆ _observer

homeassistant.components.folder_watcher.Watcher._observer
private

Definition at line 132 of file __init__.py.


The documentation for this class was generated from the following file: