mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
Don't fail on unifiprotect
This commit is contained in:
parent
e88092dc52
commit
d8716b6b72
@ -1424,6 +1424,8 @@ def _raise_on_templated_service(
|
||||
return
|
||||
if _path[-10:] == ["All", 0, "label_id", "Any", 1, "All", 1, 0, "Any", 0]:
|
||||
return
|
||||
if domain == "unifiprotect" and _service == "set_chime_paired_doorbells":
|
||||
return
|
||||
if schema in (dynamic_template, template, template_complex):
|
||||
raise ValueError(
|
||||
f"Template in service data is not allowed! {domain}.{_service}:{_path}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user