Skip to content

Commit

Permalink
Automation to update the input select widget (home-assistant#14213)
Browse files Browse the repository at this point in the history
Co-authored-by: Franck Nijhof <[email protected]>
Co-authored-by: Franck Nijhof <[email protected]>
  • Loading branch information
3 people authored Sep 5, 2020
1 parent 40ff378 commit eb05f30
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions source/_integrations/vallox.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit eb05f30

Please sign in to comment.