dimming_1ch_switch.yaml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. name: Timer
  42. category: config
  43. icon: "mdi:timer"
  44. dps:
  45. - id: 6
  46. type: integer
  47. name: value
  48. unit: min
  49. range:
  50. min: 0
  51. max: 86400
  52. mapping:
  53. - scale: 60
  54. step: 60
  55. - entity: select
  56. name: Initial state
  57. icon: "mdi:toggle-switch"
  58. category: config
  59. dps:
  60. - id: 14
  61. type: string
  62. name: option
  63. mapping:
  64. - dps_val: "on"
  65. value: "On"
  66. - dps_val: "off"
  67. value: "Off"
  68. - dps_val: memory
  69. value: Last state