gosund_wp9rtl_usbpowerstrip.yaml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. name: Triple powerstrip with USB
  2. products:
  3. - id: rccfczzprrjvkpiz
  4. manufacturer: Gosund
  5. model: WP9-RTL
  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. - id: 41
  17. name: cycle_time
  18. type: string
  19. - id: 42
  20. name: random_time
  21. type: string
  22. - id: 43
  23. name: inching
  24. type: string
  25. - entity: switch
  26. translation_key: outlet_x
  27. translation_placeholders:
  28. x: "2"
  29. class: outlet
  30. dps:
  31. - id: 2
  32. type: boolean
  33. name: switch
  34. - entity: switch
  35. translation_key: outlet_x
  36. translation_placeholders:
  37. x: "3"
  38. class: outlet
  39. dps:
  40. - id: 3
  41. type: boolean
  42. name: switch
  43. - entity: switch
  44. name: USB
  45. class: switch
  46. dps:
  47. - id: 7
  48. type: boolean
  49. name: switch
  50. - entity: number
  51. category: config
  52. class: duration
  53. translation_key: timer_x
  54. translation_placeholders:
  55. x: "1"
  56. dps:
  57. - id: 9
  58. name: value
  59. type: integer
  60. unit: min
  61. range:
  62. min: 0
  63. max: 86400
  64. mapping:
  65. - scale: 60
  66. step: 60
  67. - entity: number
  68. category: config
  69. class: duration
  70. translation_key: timer_x
  71. translation_placeholders:
  72. x: "2"
  73. dps:
  74. - id: 10
  75. name: value
  76. type: integer
  77. unit: min
  78. range:
  79. min: 0
  80. max: 86400
  81. mapping:
  82. - scale: 60
  83. step: 60
  84. - entity: number
  85. category: config
  86. class: duration
  87. translation_key: timer_x
  88. translation_placeholders:
  89. x: "3"
  90. dps:
  91. - id: 11
  92. name: value
  93. type: integer
  94. unit: min
  95. range:
  96. min: 0
  97. max: 86400
  98. mapping:
  99. - scale: 60
  100. step: 60
  101. - entity: number
  102. category: config
  103. class: duration
  104. translation_key: timer_x
  105. translation_placeholders:
  106. x: USB
  107. dps:
  108. - id: 15
  109. name: value
  110. type: integer
  111. unit: min
  112. range:
  113. min: 0
  114. max: 86400
  115. mapping:
  116. - scale: 60
  117. step: 60
  118. - entity: lock
  119. translation_key: child_lock
  120. category: config
  121. dps:
  122. - id: 40
  123. type: boolean
  124. name: lock
  125. - entity: select
  126. translation_key: initial_state
  127. category: config
  128. dps:
  129. - id: 38
  130. type: string
  131. name: option
  132. mapping:
  133. - dps_val: "1"
  134. value: "on"
  135. - dps_val: "0"
  136. value: "off"
  137. - dps_val: "2"
  138. value: memory