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