We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dfda6a commit 26143a1Copy full SHA for 26143a1
custom_components/pyscript/state.py
@@ -80,7 +80,7 @@ async def get_service_params(cls):
80
for domain in all_services:
81
cls.service2args[domain] = {}
82
for service, desc in all_services[domain].items():
83
- if "entity_id" not in desc["fields"]:
+ if "entity_id" not in desc["fields"] and "target" not in desc:
84
continue
85
cls.service2args[domain][service] = set(desc["fields"].keys())
86
cls.service2args[domain][service].discard("entity_id")
0 commit comments