gosund_usb_triple_powerstrip.yaml 2.6 KB

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