diff --git a/homeassistant/helpers/template.py b/homeassistant/helpers/template.py index 86e3385a21b..f7f12c59710 100644 --- a/homeassistant/helpers/template.py +++ b/homeassistant/helpers/template.py @@ -2620,7 +2620,6 @@ class TemplateEnvironment(ImmutableSandboxedEnvironment): self.filters["device_id"] = self.globals["device_id"] self.globals["areas"] = hassfunction(areas) - self.filters["areas"] = self.globals["areas"] self.globals["area_id"] = hassfunction(area_id) self.filters["area_id"] = self.globals["area_id"]