From 0eb2feb5371eae7806019cbd349c28e33523afbf Mon Sep 17 00:00:00 2001 From: Artur Pragacz <49985303+arturpragacz@users.noreply.github.com> Date: Mon, 10 Nov 2025 17:49:29 +0100 Subject: [PATCH] Remove entity service fields workaround --- homeassistant/helpers/config_validation.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/homeassistant/helpers/config_validation.py b/homeassistant/helpers/config_validation.py index 6f8283d605cb..b823927afd91 100644 --- a/homeassistant/helpers/config_validation.py +++ b/homeassistant/helpers/config_validation.py @@ -1438,18 +1438,6 @@ def _raise_on_templated_service( _raise_on_templated_service(domain, _service, val, [*_path, "Any", pos]) if isinstance(schema, (vol.Schema)): _raise_on_templated_service(domain, _service, schema.schema, _path) - if _path[-5:] == ["All", 0, "entity_id", "Any", 1]: - return - if _path[-7:] == ["All", 0, "entity_id", "Any", 2, "All", 1]: - return - if _path[-10:] == ["All", 0, "device_id", "Any", 1, "All", 1, 0, "Any", 0]: - return - if _path[-10:] == ["All", 0, "area_id", "Any", 1, "All", 1, 0, "Any", 0]: - return - if _path[-10:] == ["All", 0, "floor_id", "Any", 1, "All", 1, 0, "Any", 0]: - return - if _path[-10:] == ["All", 0, "label_id", "Any", 1, "All", 1, 0, "Any", 0]: - return if domain == "camera" and _service in ("record", "snapshot"): return if domain == "unifiprotect" and _service == "set_chime_paired_doorbells":