es01_powerstrip.yaml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. name: Smart plug with USB
  2. products:
  3. - id: hsoiigeykxh9m4hx
  4. model: ES-01
  5. entities:
  6. - entity: switch
  7. class: outlet
  8. translation_key: switch_x
  9. translation_placeholders:
  10. x: "1"
  11. dps:
  12. - id: 1
  13. type: boolean
  14. name: switch
  15. - entity: switch
  16. translation_key: switch_x
  17. translation_placeholders:
  18. x: "2"
  19. class: outlet
  20. dps:
  21. - id: 2
  22. type: boolean
  23. name: switch
  24. - entity: switch
  25. translation_key: switch_x
  26. translation_placeholders:
  27. x: "3"
  28. class: outlet
  29. dps:
  30. - id: 3
  31. type: boolean
  32. name: switch
  33. - entity: switch
  34. name: USB switch
  35. dps:
  36. - id: 4
  37. type: boolean
  38. name: switch
  39. - entity: time
  40. category: config
  41. translation_key: timer_x
  42. translation_placeholders:
  43. x: "1"
  44. dps:
  45. - id: 5
  46. name: second
  47. type: integer
  48. range:
  49. min: 0
  50. max: 86400
  51. - entity: time
  52. category: config
  53. translation_key: timer_x
  54. translation_placeholders:
  55. x: "2"
  56. dps:
  57. - id: 6
  58. name: second
  59. type: integer
  60. range:
  61. min: 0
  62. max: 86400
  63. - entity: time
  64. category: config
  65. translation_key: timer_x
  66. translation_placeholders:
  67. x: "3"
  68. dps:
  69. - id: 7
  70. name: second
  71. type: integer
  72. range:
  73. min: 0
  74. max: 86400
  75. - entity: time
  76. category: config
  77. translation_key: timer_x
  78. translation_placeholders:
  79. x: USB
  80. dps:
  81. - id: 8
  82. name: second
  83. type: integer
  84. range:
  85. min: 0
  86. max: 86400
  87. - entity: number
  88. category: config
  89. # 2025-07-20
  90. deprecated: time.timer_1
  91. translation_key: timer_x
  92. translation_placeholders:
  93. x: "1"
  94. class: duration
  95. dps:
  96. - id: 5
  97. name: value
  98. type: integer
  99. unit: min
  100. range:
  101. min: 0
  102. max: 86400
  103. mapping:
  104. - scale: 60
  105. step: 60
  106. - entity: number
  107. category: config
  108. # 2025-07-20
  109. deprecated: time.timer_2
  110. translation_key: timer_x
  111. translation_placeholders:
  112. x: "2"
  113. class: duration
  114. dps:
  115. - id: 6
  116. name: value
  117. type: integer
  118. unit: min
  119. range:
  120. min: 0
  121. max: 86400
  122. mapping:
  123. - scale: 60
  124. step: 60
  125. - entity: number
  126. category: config
  127. # 2025-07-20
  128. deprecated: time.timer_3
  129. translation_key: timer_x
  130. translation_placeholders:
  131. x: "3"
  132. class: duration
  133. dps:
  134. - id: 7
  135. name: value
  136. type: integer
  137. unit: min
  138. range:
  139. min: 0
  140. max: 86400
  141. mapping:
  142. - scale: 60
  143. step: 60
  144. - entity: number
  145. category: config
  146. # 2025-07-20
  147. deprecated: time.timer_usb
  148. name: USB timer
  149. translation_key: timer
  150. class: duration
  151. dps:
  152. - id: 8
  153. name: value
  154. type: integer
  155. unit: min
  156. range:
  157. min: 0
  158. max: 86400
  159. mapping:
  160. - scale: 60
  161. step: 60