wfws02rj_dual_switch.yaml 690 B

123456789101112131415161718192021222324252627282930313233343536
  1. name: Dual switch
  2. products:
  3. - id: LOeuvI6KCxzuZe0k
  4. model: WF-WS02 RJ
  5. entities:
  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. - entity: switch
  20. translation_key: switch_x
  21. translation_placeholders:
  22. x: "1"
  23. class: switch
  24. dps:
  25. - id: 1
  26. type: boolean
  27. name: switch
  28. - entity: switch
  29. translation_key: switch_x
  30. translation_placeholders:
  31. x: "2"
  32. class: switch
  33. dps:
  34. - id: 2
  35. type: boolean
  36. name: switch