dimming_1ch_switch.yaml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. name: Dimmer
  2. products:
  3. - id: 5zsarybcltypoeaa
  4. name: Single channel module
  5. primary_entity:
  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. secondary_entities:
  24. - entity: select
  25. name: LED type
  26. icon: "mdi:led-on"
  27. category: config
  28. dps:
  29. - id: 4
  30. type: string
  31. optional: true
  32. name: option
  33. mapping:
  34. - dps_val: kickback
  35. value: Kickback
  36. - dps_val: seesaw_toggle
  37. value: Seesaw toggle
  38. - dps_val: seesaw_sync
  39. value: Seesaw sync
  40. - entity: number
  41. translation_key: timer
  42. category: config
  43. dps:
  44. - id: 6
  45. type: integer
  46. name: value
  47. unit: min
  48. range:
  49. min: 0
  50. max: 86400
  51. mapping:
  52. - scale: 60
  53. step: 60
  54. - entity: select
  55. name: Initial state
  56. icon: "mdi:toggle-switch"
  57. category: config
  58. dps:
  59. - id: 14
  60. type: string
  61. name: option
  62. mapping:
  63. - dps_val: "on"
  64. value: "On"
  65. - dps_val: "off"
  66. value: "Off"
  67. - dps_val: memory
  68. value: Last state