diff --git a/source/_integrations/vallox.markdown b/source/_integrations/vallox.markdown index d67e96d2273..d4a29225159 100644 --- a/source/_integrations/vallox.markdown +++ b/source/_integrations/vallox.markdown @@ -67,6 +67,24 @@ automation: ``` {% endraw %} +In order to also update the input select in case some external event changes the Vallox profile (web interface, mechanical switch, reboot, etc...) you can use the following automation: + +{% raw %} +```yaml +automation: + - alias: Update Vallox input_select + description: Update input_select when external event changes the profile + trigger: + - entity_id: sensor.vallox_current_profile + platform: state + action: + - data_template: + entity_id: input_select.ventilation_profile + option: "{{ states('sensor.vallox_current_profile') }}" + service: input_select.select_option +``` +{% endraw %} + ## Fan Services ### Service `vallox.set_profile`