homemate_multi_switch.yaml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. name: Multi Switch
  2. products:
  3. - id: ai2cizw27dqsamlr
  4. manufacturer: HomeMate
  5. model: 4Gang Switch
  6. - id: jbaaqtkiuyjyuwtq
  7. manufacturer: HomeMate
  8. model: 2Gang Switch
  9. entities:
  10. - entity: switch
  11. translation_key: switch_x
  12. translation_placeholders:
  13. x: "1"
  14. dps:
  15. - id: 1
  16. name: switch
  17. type: boolean
  18. - entity: switch
  19. translation_key: switch_x
  20. translation_placeholders:
  21. x: "2"
  22. dps:
  23. - id: 2
  24. name: switch
  25. type: boolean
  26. - entity: switch
  27. translation_key: switch_x
  28. translation_placeholders:
  29. x: "3"
  30. hidden: unavailable
  31. dps:
  32. - id: 3
  33. name: switch
  34. type: boolean
  35. optional: true
  36. - id: 3
  37. name: available
  38. type: boolean
  39. optional: true
  40. mapping:
  41. - dps_val: null
  42. value: false
  43. - value: true
  44. - entity: switch
  45. translation_key: switch_x
  46. translation_placeholders:
  47. x: "4"
  48. hidden: unavailable
  49. dps:
  50. - id: 4
  51. name: switch
  52. type: boolean
  53. optional: true
  54. - id: 4
  55. name: available
  56. type: boolean
  57. optional: true
  58. mapping:
  59. - dps_val: null
  60. value: false
  61. - value: true
  62. - entity: switch
  63. icon: "mdi:toggle-switch"
  64. name: Main switch
  65. dps:
  66. - id: 13
  67. type: boolean
  68. name: switch
  69. - entity: time
  70. category: config
  71. translation_key: timer_x
  72. translation_placeholders:
  73. x: "1"
  74. dps:
  75. - id: 7
  76. type: integer
  77. name: second
  78. optional: true
  79. range:
  80. min: 0
  81. max: 86400
  82. - entity: time
  83. category: config
  84. translation_key: timer_x
  85. translation_placeholders:
  86. x: "2"
  87. dps:
  88. - id: 8
  89. type: integer
  90. name: second
  91. optional: true
  92. range:
  93. min: 0
  94. max: 86400
  95. - entity: time
  96. category: config
  97. translation_key: timer_x
  98. translation_placeholders:
  99. x: "3"
  100. hidden: unavailable
  101. dps:
  102. - id: 9
  103. type: integer
  104. name: second
  105. optional: true
  106. range:
  107. min: 0
  108. max: 86400
  109. - id: 3
  110. name: available
  111. type: boolean
  112. optional: true
  113. mapping:
  114. - dps_val: null
  115. value: false
  116. - value: true
  117. - entity: time
  118. category: config
  119. translation_key: timer_x
  120. translation_placeholders:
  121. x: "4"
  122. hidden: unavailable
  123. dps:
  124. - id: 10
  125. type: integer
  126. name: second
  127. optional: true
  128. range:
  129. min: 0
  130. max: 86400
  131. - id: 4
  132. name: available
  133. type: boolean
  134. optional: true
  135. mapping:
  136. - dps_val: null
  137. value: false
  138. - value: true
  139. - entity: number
  140. category: config
  141. # 2025-07-20
  142. deprecated: time.timer_1
  143. class: duration
  144. translation_key: timer_x
  145. translation_placeholders:
  146. x: "1"
  147. dps:
  148. - id: 7
  149. type: integer
  150. name: value
  151. unit: min
  152. optional: true
  153. range:
  154. min: 0
  155. max: 86400
  156. mapping:
  157. - scale: 60
  158. step: 60
  159. - entity: number
  160. category: config
  161. # 2025-07-20
  162. deprecated: time.timer_2
  163. class: duration
  164. translation_key: timer_x
  165. translation_placeholders:
  166. x: "2"
  167. dps:
  168. - id: 8
  169. type: integer
  170. name: value
  171. unit: min
  172. optional: true
  173. range:
  174. min: 0
  175. max: 86400
  176. mapping:
  177. - scale: 60
  178. step: 60
  179. - entity: number
  180. category: config
  181. # 2025-07-20
  182. deprecated: time.timer_3
  183. class: duration
  184. translation_key: timer_x
  185. translation_placeholders:
  186. x: "3"
  187. hidden: unavailable
  188. dps:
  189. - id: 9
  190. type: integer
  191. name: value
  192. unit: min
  193. optional: true
  194. range:
  195. min: 0
  196. max: 86400
  197. mapping:
  198. - scale: 60
  199. step: 60
  200. - id: 3
  201. name: available
  202. type: boolean
  203. optional: true
  204. mapping:
  205. - dps_val: null
  206. value: false
  207. - value: true
  208. - entity: number
  209. category: config
  210. # 2025-07-20
  211. deprecated: time.timer_4
  212. class: duration
  213. translation_key: timer_x
  214. translation_placeholders:
  215. x: "4"
  216. hidden: unavailable
  217. dps:
  218. - id: 10
  219. type: integer
  220. name: value
  221. unit: min
  222. optional: true
  223. range:
  224. min: 0
  225. max: 86400
  226. mapping:
  227. - scale: 60
  228. step: 60
  229. - id: 4
  230. name: available
  231. type: boolean
  232. optional: true
  233. mapping:
  234. - dps_val: null
  235. value: false
  236. - value: true
  237. - entity: select
  238. translation_key: initial_state
  239. category: config
  240. dps:
  241. - id: 14
  242. type: string
  243. name: option
  244. optional: true
  245. mapping:
  246. - dps_val: "off"
  247. value: "off"
  248. - dps_val: "on"
  249. value: "on"
  250. - dps_val: "memory"
  251. value: "memory"