gosund_usb_triple_powerstrip.yaml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. name: USB + 3 outlet power monitor powerstrip
  2. products:
  3. - id: tsbguim4trl6fa7g
  4. manufacturer: Gosund
  5. model: P1
  6. entities:
  7. - entity: switch
  8. class: outlet
  9. translation_key: outlet_x
  10. translation_placeholders:
  11. x: "1"
  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. name: USB switch
  36. class: switch
  37. dps:
  38. - id: 7
  39. type: boolean
  40. name: switch
  41. - entity: number
  42. category: config
  43. class: duration
  44. translation_key: timer_x
  45. translation_placeholders:
  46. x: "1"
  47. dps:
  48. - id: 9
  49. type: integer
  50. name: value
  51. unit: min
  52. range:
  53. min: 0
  54. max: 86400
  55. mapping:
  56. - scale: 60
  57. step: 60
  58. - entity: number
  59. category: config
  60. class: duration
  61. translation_key: timer_x
  62. translation_placeholders:
  63. x: "2"
  64. dps:
  65. - id: 10
  66. type: integer
  67. name: value
  68. unit: min
  69. range:
  70. min: 0
  71. max: 86400
  72. mapping:
  73. - scale: 60
  74. step: 60
  75. - entity: number
  76. category: config
  77. class: duration
  78. translation_key: timer_x
  79. translation_placeholders:
  80. x: "3"
  81. dps:
  82. - id: 11
  83. type: integer
  84. name: value
  85. unit: min
  86. range:
  87. min: 0
  88. max: 86400
  89. mapping:
  90. - scale: 60
  91. step: 60
  92. - entity: number
  93. name: USB Timer
  94. category: config
  95. class: duration
  96. translation_key: timer
  97. dps:
  98. - id: 15
  99. type: integer
  100. name: value
  101. unit: min
  102. range:
  103. min: 0
  104. max: 86400
  105. mapping:
  106. - scale: 60
  107. step: 60
  108. - entity: sensor
  109. class: current
  110. category: diagnostic
  111. dps:
  112. - id: 18
  113. type: integer
  114. name: sensor
  115. unit: mA
  116. force: true
  117. class: measurement
  118. - entity: sensor
  119. class: power
  120. category: diagnostic
  121. dps:
  122. - id: 19
  123. type: integer
  124. name: sensor
  125. unit: W
  126. class: measurement
  127. force: true
  128. mapping:
  129. - scale: 10
  130. - entity: sensor
  131. class: voltage
  132. category: diagnostic
  133. dps:
  134. - id: 20
  135. type: integer
  136. name: sensor
  137. unit: V
  138. class: measurement
  139. force: true
  140. mapping:
  141. - scale: 10
  142. - entity: binary_sensor
  143. name: Overload
  144. class: problem
  145. category: diagnostic
  146. dps:
  147. - id: 101
  148. type: boolean
  149. name: sensor
  150. - entity: binary_sensor
  151. name: USB Overload
  152. class: problem
  153. category: diagnostic
  154. dps:
  155. - id: 102
  156. type: boolean
  157. name: sensor