mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Don't fail on camera
This commit is contained in:
parent
d8716b6b72
commit
4c0fcbb824
@ -1424,6 +1424,8 @@ def _raise_on_templated_service(
|
|||||||
return
|
return
|
||||||
if _path[-10:] == ["All", 0, "label_id", "Any", 1, "All", 1, 0, "Any", 0]:
|
if _path[-10:] == ["All", 0, "label_id", "Any", 1, "All", 1, 0, "Any", 0]:
|
||||||
return
|
return
|
||||||
|
if domain == "camera" and _service in ("record", "snapshot"):
|
||||||
|
return
|
||||||
if domain == "unifiprotect" and _service == "set_chime_paired_doorbells":
|
if domain == "unifiprotect" and _service == "set_chime_paired_doorbells":
|
||||||
return
|
return
|
||||||
if schema in (dynamic_template, template, template_complex):
|
if schema in (dynamic_template, template, template_complex):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user