dimming_1ch_switch.yaml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. name: Dimmer
  2. products:
  3. - id: 5zsarybcltypoeaa
  4. model: Single channel module
  5. entities:
  6. - entity: light
  7. dps:
  8. - id: 1
  9. type: boolean
  10. name: switch
  11. - id: 2
  12. name: brightness
  13. type: integer
  14. range:
  15. min: 10
  16. max: 1000
  17. - id: 3
  18. type: integer
  19. name: min_brightness
  20. - id: 5
  21. type: integer
  22. name: max_brightness
  23. - entity: select
  24. name: LED type
  25. icon: "mdi:led-on"
  26. category: config
  27. dps:
  28. - id: 4
  29. type: string
  30. optional: true
  31. name: option
  32. mapping:
  33. - dps_val: kickback
  34. value: Kickback
  35. - dps_val: seesaw_toggle
  36. value: Seesaw toggle
  37. - dps_val: seesaw_sync
  38. value: Seesaw sync
  39. - entity: number
  40. translation_key: timer
  41. class: duration
  42. category: config
  43. dps:
  44. - id: 6
  45. type: integer
  46. name: value
  47. unit: s
  48. range:
  49. min: 0
  50. max: 86400
  51. - entity: select
  52. translation_key: initial_state
  53. category: config
  54. dps:
  55. - id: 14
  56. type: string
  57. name: option
  58. mapping:
  59. - dps_val: "on"
  60. value: "on"
  61. - dps_val: "off"
  62. value: "off"
  63. - dps_val: memory
  64. value: memory