qnect_usb_powerstrip.yaml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. name: 3 outlet + USB powerstrip
  2. products:
  3. - id: ivd9p236skiaqdrk
  4. manufacturer: Qnect
  5. model: QN-WP03
  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. - 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. name: value
  50. type: integer
  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. name: value
  67. type: integer
  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. name: value
  84. type: integer
  85. unit: min
  86. range:
  87. min: 0
  88. max: 86400
  89. mapping:
  90. - scale: 60
  91. step: 60
  92. - entity: number
  93. category: config
  94. class: duration
  95. name: USB timer
  96. translation_key: timer
  97. dps:
  98. - id: 15
  99. name: value
  100. type: integer
  101. unit: min
  102. range:
  103. min: 0
  104. max: 86400
  105. mapping:
  106. - scale: 60
  107. step: 60