moes_dual_dimmer.yaml 3.9 KB

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