Advertisement
Wenar

Vallox

Feb 4th, 2022
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. - alias: Set Ventilation Profile
  2. trigger:
  3. platform: state
  4. entity_id: input_select.ventilation_profile
  5. action:
  6. service: vallox.set_profile
  7. data:
  8. profile: '{{ states(''input_select.ventilation_profile'') }}'
  9. id: fa0addfdb5ca4e40b60ddcc5c141c2f6
  10. - alias: Update Vallox input_select
  11. description: Update input_select when external event changes the profile
  12. trigger:
  13. - entity_id: sensor.vallox_current_profile
  14. platform: state
  15. action:
  16. - service: input_select.select_option
  17. target:
  18. entity_id: input_select.ventilation_profile
  19. data:
  20. option: '{{ states(''sensor.vallox_current_profile'') }}'
  21. id: f8a7399887f04ce1807fd124c6e209e4
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement