Skip to content

Commit

Permalink
Update schema for template vacuums (#3350)
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
jfurtner authored Jan 6, 2025
1 parent a3a6a24 commit de53c61
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit de53c61

Please sign in to comment.