home-assistant.io
home-assistant.io copied to clipboard
preset_modes, preset_mode_template, set_preset_mode no longer supported
Feedback
The example is outdated. Something got update somewhere leading to this error when checking the yaml:
Invalid config for 'template' from integration 'fan' at configuration.yaml, line 53: 'preset_mode_template' is an invalid option for 'fan.template', check: fans->central_ventilation->turn_off->0->preset_mode_template Invalid config for 'template' from integration 'fan' at configuration.yaml, line 53: 'preset_modes' is an invalid option for 'fan.template', check: fans->central_ventilation->turn_off->0->preset_modes Invalid config for 'template' from integration 'fan' at configuration.yaml, line 53: 'set_preset_mode' is an invalid option for 'fan.template', check: fans->central_ventilation->turn_off->0->set_preset_mode
I would like to know how to use preset modes, but I got lost somewhere down a jinja templating rabbit hole. Not even sure if it's the right rabbit hole. Thanks in advance!
URL
https://www.home-assistant.io/integrations/fan.template/
Version
2024.4.4
Additional information
No response
Hey there @phracturedblue, @tetienne, @home-assistant/core, mind taking a look at this feedback as it has been labeled with an integration (template
) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of template
can trigger bot actions by commenting:
-
@home-assistant close
Closes the feedback. -
@home-assistant rename Awesome new title
Renames the feedback. -
@home-assistant reopen
Reopen the feedback. -
@home-assistant unassign template
Removes the current integration label and assignees on the feedback, add the integration domain after the command. -
@home-assistant add-label needs-more-information
Add a label (needs-more-information) to the feedback. -
@home-assistant remove-label needs-more-information
Remove a label (needs-more-information) on the feedback.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved. If this issue is still relevant, please let us know by leaving a comment 👍 This issue has now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
This issue is still relevant. Not sure if it's a priority, but it would help me.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved. If this issue is still relevant, please let us know by leaving a comment 👍 This issue has now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.