quad_power_timer.yaml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. name: Quad powerstrip
  2. products:
  3. - id: key5nck4tavy43jp
  4. manufacturer: Xystec
  5. model: NX-4686-919 4xUSB
  6. - id: ckg60n4x6qakegxo
  7. manufacturer: Xystec
  8. model: NX-4986-919 4xUSB
  9. - id: fn2jtjtvkegj2oll
  10. manufacturer: Powersav
  11. model: AHR-083
  12. - id: nflvklbkgbbxegxj
  13. manufacturer: LSC Smart Connect
  14. entities:
  15. - entity: switch
  16. translation_key: outlet_x
  17. translation_placeholders:
  18. x: "1"
  19. class: outlet
  20. dps:
  21. - id: 1
  22. type: boolean
  23. name: switch
  24. - entity: switch
  25. translation_key: outlet_x
  26. translation_placeholders:
  27. x: "2"
  28. class: outlet
  29. dps:
  30. - id: 2
  31. type: boolean
  32. name: switch
  33. - entity: switch
  34. translation_key: outlet_x
  35. translation_placeholders:
  36. x: "3"
  37. class: outlet
  38. dps:
  39. - id: 3
  40. type: boolean
  41. name: switch
  42. - entity: switch
  43. translation_key: outlet_x
  44. translation_placeholders:
  45. x: "4"
  46. class: outlet
  47. dps:
  48. - id: 4
  49. type: boolean
  50. name: switch
  51. - entity: time
  52. category: config
  53. translation_key: timer_x
  54. translation_placeholders:
  55. x: "1"
  56. dps:
  57. - id: 9
  58. type: integer
  59. name: second
  60. range:
  61. min: 0
  62. max: 86400
  63. - entity: time
  64. category: config
  65. translation_key: timer_x
  66. translation_placeholders:
  67. x: "2"
  68. dps:
  69. - id: 10
  70. type: integer
  71. name: second
  72. range:
  73. min: 0
  74. max: 86400
  75. - entity: time
  76. category: config
  77. translation_key: timer_x
  78. translation_placeholders:
  79. x: "3"
  80. dps:
  81. - id: 11
  82. type: integer
  83. name: second
  84. range:
  85. min: 0
  86. max: 86400
  87. - entity: time
  88. category: config
  89. translation_key: timer_x
  90. translation_placeholders:
  91. x: "4"
  92. dps:
  93. - id: 12
  94. type: integer
  95. name: second
  96. range:
  97. min: 0
  98. max: 86400
  99. - entity: select
  100. translation_key: initial_state
  101. category: config
  102. hidden: unavailable
  103. dps:
  104. - id: 38
  105. type: string
  106. optional: true
  107. name: available
  108. mapping:
  109. - dps_val: null
  110. value: false
  111. - value: true
  112. - id: 38
  113. type: string
  114. name: option
  115. optional: true
  116. mapping:
  117. - conditions:
  118. - dps_val: ["memory", "on", "off"]
  119. mapping:
  120. - dps_val: "on"
  121. value: "on"
  122. - dps_val: "off"
  123. value: "off"
  124. - dps_val: memory
  125. value: memory
  126. - dps_val: ["power_off", "power_on", "last"]
  127. mapping:
  128. - dps_val: power_on
  129. value: "on"
  130. - dps_val: power_off
  131. value: "off"
  132. - dps_val: last
  133. value: memory
  134. - dps_val: ["0", "1", "2"]
  135. mapping:
  136. - dps_val: "0"
  137. value: "off"
  138. - dps_val: "1"
  139. value: "on"
  140. - dps_val: "2"
  141. value: memory
  142. - dps_val: null
  143. mapping:
  144. - dps_val: "on"
  145. value: "on"
  146. - dps_val: "off"
  147. value: "off"
  148. - dps_val: memory
  149. value: memory
  150. - entity: select
  151. translation_key: light_mode
  152. category: config
  153. hidden: unavailable
  154. dps:
  155. - id: 40
  156. type: string
  157. optional: true
  158. name: available
  159. mapping:
  160. - dps_val: null
  161. value: false
  162. - value: true
  163. - id: 40
  164. type: string
  165. optional: true
  166. name: option
  167. mapping:
  168. - dps_val: relay
  169. value: state
  170. - dps_val: pos
  171. value: locator
  172. - dps_val: none
  173. value: "off"
  174. - entity: lock
  175. translation_key: child_lock
  176. category: config
  177. hidden: unavailable
  178. dps:
  179. - id: 41
  180. type: boolean
  181. optional: true
  182. name: lock
  183. - id: 41
  184. type: boolean
  185. optional: true
  186. name: available
  187. mapping:
  188. - dps_val: null
  189. value: false
  190. - value: true
  191. - entity: text
  192. translation_key: schedule
  193. category: config
  194. hidden: true
  195. dps:
  196. - id: 42
  197. type: base64
  198. optional: true
  199. name: value
  200. - entity: text
  201. name: Random schedule
  202. category: config
  203. icon: "mdi:island"
  204. hidden: true
  205. dps:
  206. - id: 43
  207. type: base64
  208. optional: true
  209. name: value
  210. - entity: text
  211. name: Inching
  212. category: config
  213. icon: "mdi:toggle-switch"
  214. hidden: true
  215. dps:
  216. - id: 44
  217. type: base64
  218. optional: true
  219. name: value