wfws02rj_dual_switch.yaml 581 B

123456789101112131415161718192021222324252627282930313233
  1. name: Dual switch
  2. products:
  3. - id: LOeuvI6KCxzuZe0k
  4. name: WF-WS02 RJ
  5. primary_entity:
  6. entity: switch
  7. name: Master
  8. class: switch
  9. category: config
  10. dps:
  11. - id: 5
  12. type: integer
  13. name: switch
  14. mapping:
  15. - dps_val: 1
  16. value: true
  17. - dps_val: 0
  18. value: false
  19. secondary_entities:
  20. - entity: switch
  21. name: Switch 1
  22. class: switch
  23. dps:
  24. - id: 1
  25. type: boolean
  26. name: switch
  27. - entity: switch
  28. name: Switch 2
  29. class: switch
  30. dps:
  31. - id: 2
  32. type: boolean
  33. name: switch