Hi everybody,
here is my YAML code for a fan template:
fan:
- platform: template
fans:
pluggit_fan:
friendly_name: "Pluggit Steuerung"
unique_id: "pluggit_unique_id"
value_template: "{{ states('input_boolean.luftung_an') }}"
speed_template: "{{ states('input_select.luftung_stufe') }}"
preset_mode_template: "{{ states('input_select.luftung_stufe') }}"
turn_on:
service: modbus.write_register
data:
unit: 255
value: [3,0] # Anschalten mit Stufe 3
hub: pluggit
address: 324
turn_off:
service: modbus.write_register
data:
unit: 255
value: [0,0] # Ausschalten mit Stufe 0
hub: pluggit
address: 324
set_speed:
service: input_select.select_option
data_template:
entity_id: input_select.luftung_stufe
option: "{{ speed }}"
set_preset_mode:
service: input_select.select_option
data_template:
entity_id: input_select.luftung_modus
option: "{{ mode }}"
speeds:
- '1'
- '2'
- '3'
- '4'
preset_modes:
- 'Manuell'
- 'Auto'
- 'Rauspusten'
But when I run the configuration check, I get the following error:
Invalid config for [fan.template]: [preset_mode_template] is an invalid option for [fan.template]. Check: fan.template->fans->pluggit_fan->preset_mode_template. (See ?, line ?).
BUT when Iook at the documentation it IS a valid option… https://www.home-assistant.io/integrations/fan.template/
What did I miss?
BR,
Tristan