bauhn_ap5w0624_powerstrip.yaml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. name: 5-way powerstrip
  2. products:
  3. - id: bf152cecbcf4180771k2lq
  4. manufacturer: Bauhn
  5. model: AP5W-0624
  6. entities:
  7. - entity: switch
  8. translation_key: outlet_x
  9. translation_placeholders:
  10. x: "1"
  11. class: outlet
  12. dps:
  13. - id: 1
  14. type: boolean
  15. name: switch
  16. - entity: switch
  17. translation_key: outlet_x
  18. translation_placeholders:
  19. x: "2"
  20. class: outlet
  21. dps:
  22. - id: 2
  23. type: boolean
  24. name: switch
  25. - entity: switch
  26. translation_key: outlet_x
  27. translation_placeholders:
  28. x: "3"
  29. class: outlet
  30. dps:
  31. - id: 3
  32. type: boolean
  33. name: switch
  34. - entity: switch
  35. translation_key: outlet_x
  36. translation_placeholders:
  37. x: "4"
  38. class: outlet
  39. dps:
  40. - id: 4
  41. type: boolean
  42. name: switch
  43. - entity: switch
  44. translation_key: outlet_x
  45. translation_placeholders:
  46. x: "5"
  47. class: outlet
  48. dps:
  49. - id: 5
  50. type: boolean
  51. name: switch
  52. - entity: number
  53. category: config
  54. translation_key: timer_x
  55. translation_placeholders:
  56. x: "1"
  57. class: duration
  58. dps:
  59. - id: 9
  60. type: integer
  61. name: value
  62. unit: min
  63. range:
  64. min: 0
  65. max: 86400
  66. mapping:
  67. - scale: 60
  68. step: 60
  69. - id: 42
  70. type: string
  71. name: cycle_time
  72. - id: 43
  73. type: string
  74. name: random_time
  75. - id: 44
  76. type: string
  77. name: switch_inching
  78. - entity: number
  79. category: config
  80. translation_key: timer_x
  81. translation_placeholders:
  82. x: "2"
  83. class: duration
  84. dps:
  85. - id: 10
  86. type: integer
  87. name: value
  88. unit: min
  89. range:
  90. min: 0
  91. max: 86400
  92. mapping:
  93. - scale: 60
  94. step: 60
  95. - entity: number
  96. category: config
  97. translation_key: timer_x
  98. translation_placeholders:
  99. x: "3"
  100. class: duration
  101. dps:
  102. - id: 11
  103. type: integer
  104. name: value
  105. unit: min
  106. range:
  107. min: 0
  108. max: 86400
  109. mapping:
  110. - scale: 60
  111. step: 60
  112. - entity: number
  113. category: config
  114. translation_key: timer_x
  115. translation_placeholders:
  116. x: "4"
  117. class: duration
  118. dps:
  119. - id: 12
  120. type: integer
  121. name: value
  122. unit: min
  123. range:
  124. min: 0
  125. max: 86400
  126. mapping:
  127. - scale: 60
  128. step: 60
  129. - entity: number
  130. category: config
  131. translation_key: timer_x
  132. translation_placeholders:
  133. x: "5"
  134. class: duration
  135. dps:
  136. - id: 13
  137. type: integer
  138. name: value
  139. unit: min
  140. range:
  141. min: 0
  142. max: 86400
  143. mapping:
  144. - scale: 60
  145. step: 60
  146. - entity: sensor
  147. category: diagnostic
  148. class: current
  149. dps:
  150. - id: 18
  151. name: sensor
  152. type: integer
  153. class: measurement
  154. force: true
  155. unit: mA
  156. - id: 23
  157. type: integer
  158. name: calibration
  159. optional: true
  160. - entity: sensor
  161. category: diagnostic
  162. class: power
  163. dps:
  164. - id: 19
  165. name: sensor
  166. type: integer
  167. class: measurement
  168. force: true
  169. unit: W
  170. mapping:
  171. - scale: 10
  172. - id: 24
  173. type: integer
  174. name: calibration
  175. optional: true
  176. - entity: sensor
  177. category: diagnostic
  178. class: voltage
  179. dps:
  180. - id: 20
  181. name: sensor
  182. type: integer
  183. class: measurement
  184. force: true
  185. unit: V
  186. mapping:
  187. - scale: 10
  188. - id: 22
  189. type: integer
  190. name: calibration
  191. optional: true
  192. - entity: select
  193. translation_key: initial_state
  194. category: config
  195. dps:
  196. - id: 38
  197. type: string
  198. name: option
  199. mapping:
  200. - dps_val: "on"
  201. value: "on"
  202. - dps_val: "off"
  203. value: "off"
  204. - dps_val: "memory"
  205. value: memory
  206. - entity: lock
  207. translation_key: child_lock
  208. category: config
  209. dps:
  210. - id: 41
  211. type: boolean
  212. name: lock
  213. optional: true