moes_dual_dimmer.yaml 3.5 KB

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