From de53c611ea345ba920ce81d9deb571130720cd65 Mon Sep 17 00:00:00 2001 From: jfurtner <1195789+jfurtner@users.noreply.github.com> Date: Mon, 6 Jan 2025 15:07:54 -0700 Subject: [PATCH] Update schema for template vacuums (#3350) Template vacuums' `attribute_templates` is wrong in schema, is currently `attributes_template`. Update to match documentation (correctly linked in schema to https://www.home-assistant.io/integrations/vacuum.template#attribute_templates, but mis-named in schema). --- src/language-service/src/schemas/integrations/core/template.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/language-service/src/schemas/integrations/core/template.ts b/src/language-service/src/schemas/integrations/core/template.ts index d35ea2a2bf..d0414d6337 100644 --- a/src/language-service/src/schemas/integrations/core/template.ts +++ b/src/language-service/src/schemas/integrations/core/template.ts @@ -1198,7 +1198,7 @@ interface VacuumPlatformItem { * Defines templates for attributes of the sensor. * https://www.home-assistant.io/integrations/vacuum.template#attribute_templates */ - attributes_template?: { [key: string]: Template }; + attribute_templates?: { [key: string]: Template }; /** * Defines a template to get the available state of the component. If the template returns true, the device is available.