mirror of
https://github.com/open-webui/pipelines
synced 2025-06-25 09:36:35 +00:00
Merge pull request #246 from ma3oun/patch-1
Update home_assistant_filter.py
This commit is contained in:
commit
d4fca4c37c
@ -5,7 +5,7 @@ date: 2024-06-15
|
|||||||
version: 1.0
|
version: 1.0
|
||||||
license: MIT
|
license: MIT
|
||||||
description: A pipeline for controlling Home Assistant entities based on their easy names. Only supports lights at the moment.
|
description: A pipeline for controlling Home Assistant entities based on their easy names. Only supports lights at the moment.
|
||||||
requirements: pytz, difflab
|
requirements: pytz, difflib
|
||||||
"""
|
"""
|
||||||
import requests
|
import requests
|
||||||
from typing import Literal, Dict, Any
|
from typing import Literal, Dict, Any
|
||||||
@ -113,4 +113,4 @@ class Pipeline(FunctionCallingBlueprint):
|
|||||||
"pipelines": ["*"], # Connect to all pipelines
|
"pipelines": ["*"], # Connect to all pipelines
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
self.tools = self.Tools(self)
|
self.tools = self.Tools(self)
|
||||||
|
Loading…
Reference in New Issue
Block a user