gosund_usb_triple_powerstrip.yaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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: s
  52. range:
  53. min: 0
  54. max: 86400
  55. - entity: number
  56. category: config
  57. class: duration
  58. translation_key: timer_x
  59. translation_placeholders:
  60. x: "2"
  61. dps:
  62. - id: 10
  63. type: integer
  64. name: value
  65. unit: s
  66. range:
  67. min: 0
  68. max: 86400
  69. - entity: number
  70. category: config
  71. class: duration
  72. translation_key: timer_x
  73. translation_placeholders:
  74. x: "3"
  75. dps:
  76. - id: 11
  77. type: integer
  78. name: value
  79. unit: s
  80. range:
  81. min: 0
  82. max: 86400
  83. - entity: number
  84. name: USB Timer
  85. category: config
  86. class: duration
  87. translation_key: timer
  88. dps:
  89. - id: 15
  90. type: integer
  91. name: value
  92. unit: s
  93. range:
  94. min: 0
  95. max: 86400
  96. - entity: sensor
  97. class: current
  98. category: diagnostic
  99. dps:
  100. - id: 18
  101. type: integer
  102. name: sensor
  103. unit: mA
  104. force: true
  105. class: measurement
  106. - entity: sensor
  107. class: power
  108. category: diagnostic
  109. dps:
  110. - id: 19
  111. type: integer
  112. name: sensor
  113. unit: W
  114. class: measurement
  115. force: true
  116. mapping:
  117. - scale: 10
  118. - entity: sensor
  119. class: voltage
  120. category: diagnostic
  121. dps:
  122. - id: 20
  123. type: integer
  124. name: sensor
  125. unit: V
  126. class: measurement
  127. force: true
  128. mapping:
  129. - scale: 10
  130. - entity: binary_sensor
  131. name: Overload
  132. class: problem
  133. category: diagnostic
  134. dps:
  135. - id: 101
  136. type: boolean
  137. name: sensor
  138. - entity: binary_sensor
  139. name: USB Overload
  140. class: problem
  141. category: diagnostic
  142. dps:
  143. - id: 102
  144. type: boolean
  145. name: sensor