home-assistant.io icon indicating copy to clipboard operation
home-assistant.io copied to clipboard

Template fan new syntax

Open tetele opened this issue 4 months ago • 2 comments

Proposed change

Template fans now support the new template entity syntax (which is also the default)

Type of change

  • [ ] Spelling, grammar or other readability improvements (current branch).
  • [ ] Adjusted missing or incorrect information in the current documentation (current branch).
  • [ ] Added documentation for a new integration I'm adding to Home Assistant (next branch).
  • [x] Added documentation for a new feature I'm adding to Home Assistant (next branch).
  • [ ] Removed stale or deprecated documentation.

Additional information

  • Link to parent pull request in the codebase: https://github.com/home-assistant/core/pull/128405
  • Link to parent pull request in the Brands repository:
  • This PR fixes or closes issue: fixes #

Checklist

  • [x] This PR uses the correct branch, based on one of the following:
    • I made a change to the existing documentation and used the current branch.
    • I made a change that is related to an upcoming version of Home Assistant and used the next branch.
  • [x] The documentation follows the Home Assistant documentation standards.

Summary by CodeRabbit

  • New Features

    • Introduced a simplified YAML configuration structure for template fans, enhancing clarity and usability.
    • Added support for fan entities, including attributes like state, percentage, preset mode, oscillating, and direction.
  • Documentation

    • Updated documentation to reflect the new fan entity configuration, including examples and descriptions for new attributes and actions.
    • Added a note indicating that UI configuration is not available for template fans.

tetele avatar Oct 15 '24 07:10 tetele