Add support for event type closed to integration folder_watcher (#48226)
parent
fcf86e59cc
commit
7ef17bf175
|
@ -92,6 +92,10 @@ def create_event_handler(patterns, hass):
|
|||
"""File deleted."""
|
||||
self.process(event)
|
||||
|
||||
def on_closed(self, event):
|
||||
"""File closed."""
|
||||
self.process(event)
|
||||
|
||||
return EventHandler(patterns, hass)
|
||||
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"domain": "folder_watcher",
|
||||
"name": "Folder Watcher",
|
||||
"documentation": "https://www.home-assistant.io/integrations/folder_watcher",
|
||||
"requirements": ["watchdog==1.0.2"],
|
||||
"requirements": ["watchdog==2.0.2"],
|
||||
"codeowners": [],
|
||||
"quality_scale": "internal"
|
||||
}
|
||||
|
|
|
@ -2305,7 +2305,7 @@ wakeonlan==2.0.0
|
|||
waqiasync==1.0.0
|
||||
|
||||
# homeassistant.components.folder_watcher
|
||||
watchdog==1.0.2
|
||||
watchdog==2.0.2
|
||||
|
||||
# homeassistant.components.waterfurnace
|
||||
waterfurnace==1.1.0
|
||||
|
|
|
@ -1214,7 +1214,7 @@ vultr==0.1.2
|
|||
wakeonlan==2.0.0
|
||||
|
||||
# homeassistant.components.folder_watcher
|
||||
watchdog==1.0.2
|
||||
watchdog==2.0.2
|
||||
|
||||
# homeassistant.components.wiffi
|
||||
wiffi==1.0.1
|
||||
|
|
Loading…
Reference in New Issue