moes_dual_dimmer.yaml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. name: Dual dimmer
  2. products:
  3. - id: bxoo2swd
  4. name: Moes ZM-105B-M-MS
  5. primary_entity:
  6. entity: light
  7. name: Light 1
  8. dps:
  9. - id: 1
  10. type: boolean
  11. name: switch
  12. - id: 2
  13. name: brightness
  14. type: integer
  15. range:
  16. min: 10
  17. max: 1000
  18. secondary_entities:
  19. - entity: light
  20. name: Light 2
  21. dps:
  22. - id: 7
  23. type: boolean
  24. name: switch
  25. - id: 8
  26. name: brightness
  27. type: integer
  28. range:
  29. min: 10
  30. max: 1000
  31. - entity: number
  32. name: Minimum brightness 1
  33. category: config
  34. icon: "mdi:lightbulb-on-30"
  35. dps:
  36. - id: 3
  37. type: integer
  38. name: value
  39. optional: true
  40. range:
  41. min: 10
  42. max: 1000
  43. - entity: number
  44. name: Maximum brightness 1
  45. category: config
  46. icon: "mdi:lightbulb-on-90"
  47. dps:
  48. - id: 5
  49. type: integer
  50. name: value
  51. optional: true
  52. range:
  53. min: 10
  54. max: 1000
  55. - entity: number
  56. name: Minimum brightness 2
  57. category: config
  58. icon: "mdi:lightbulb-on-30"
  59. dps:
  60. - id: 9
  61. type: integer
  62. name: value
  63. optional: true
  64. range:
  65. min: 10
  66. max: 1000
  67. - entity: number
  68. name: Maximum brightness 2
  69. category: config
  70. icon: "mdi:lightbulb-on-90"
  71. dps:
  72. - id: 11
  73. type: integer
  74. name: value
  75. optional: true
  76. range:
  77. min: 10
  78. max: 1000
  79. - entity: select
  80. name: Light type 1
  81. category: config
  82. icon: "mdi:lightbulb-alert"
  83. dps:
  84. - id: 4
  85. type: string
  86. name: option
  87. mapping:
  88. - dps_val: led
  89. value: LED
  90. icon: "mdi:lightbulbon-50"
  91. - dps_val: incandescent
  92. value: Incandescent
  93. icon: "mdi:lightbulb-variant-outline"
  94. - dps_val: halogen
  95. value: Halogen
  96. icon: "mdi:lightbulb-spot"
  97. - entity: select
  98. name: Light type 2
  99. category: config
  100. icon: "mdi:lightbulb-alert"
  101. dps:
  102. - id: 10
  103. type: string
  104. name: option
  105. mapping:
  106. - dps_val: led
  107. value: LED
  108. icon: "mdi:lightbulbon-50"
  109. - dps_val: incandescent
  110. value: Incandescent
  111. icon: "mdi:lightbulb-variant-outline"
  112. - dps_val: halogen
  113. value: Halogen
  114. icon: "mdi:lightbulb-spot"
  115. - entity: number
  116. translation_key: timer
  117. name: Timer 1
  118. category: config
  119. dps:
  120. - id: 6
  121. type: integer
  122. name: value
  123. unit: min
  124. range:
  125. min: 0
  126. max: 86400
  127. mapping:
  128. - scale: 60
  129. step: 60
  130. - entity: number
  131. translation_key: timer
  132. name: Timer 2
  133. category: config
  134. dps:
  135. - id: 12
  136. type: integer
  137. name: value
  138. unit: min
  139. range:
  140. min: 0
  141. max: 86400
  142. mapping:
  143. - scale: 60
  144. step: 60
  145. - entity: select
  146. translation_key: initial_state
  147. category: config
  148. dps:
  149. - id: 14
  150. type: string
  151. name: option
  152. optional: true
  153. mapping:
  154. - dps_val: "off"
  155. value: "off"
  156. - dps_val: "on"
  157. value: "on"
  158. - dps_val: memory
  159. value: memory