simple_six_switch.yaml 5.2 KB

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