qnect_usb_powerstrip.yaml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. name: 3 outlet + USB powerstrip
  2. products:
  3. - id: ivd9p236skiaqdrk
  4. name: Qnect QN-WP03
  5. primary_entity:
  6. entity: switch
  7. name: Outlet 1
  8. class: outlet
  9. dps:
  10. - id: 1
  11. type: boolean
  12. name: switch
  13. secondary_entities:
  14. - entity: switch
  15. name: Outlet 2
  16. class: outlet
  17. dps:
  18. - id: 2
  19. type: boolean
  20. name: switch
  21. - entity: switch
  22. name: Outlet 3
  23. class: outlet
  24. dps:
  25. - id: 3
  26. type: boolean
  27. name: switch
  28. - entity: switch
  29. name: USB switch
  30. class: switch
  31. dps:
  32. - id: 7
  33. type: boolean
  34. name: switch
  35. - entity: number
  36. category: config
  37. translation_key: timer_x
  38. translation_placeholders:
  39. x: "1"
  40. dps:
  41. - id: 9
  42. name: value
  43. type: integer
  44. unit: min
  45. range:
  46. min: 0
  47. max: 86400
  48. mapping:
  49. - scale: 60
  50. step: 60
  51. - entity: number
  52. category: config
  53. translation_key: timer_x
  54. translation_placeholders:
  55. x: "2"
  56. dps:
  57. - id: 10
  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. translation_key: timer_x
  70. translation_placeholders:
  71. x: "3"
  72. dps:
  73. - id: 11
  74. name: value
  75. type: integer
  76. unit: min
  77. range:
  78. min: 0
  79. max: 86400
  80. mapping:
  81. - scale: 60
  82. step: 60
  83. - entity: number
  84. category: config
  85. name: USB timer
  86. translation_key: timer
  87. dps:
  88. - id: 15
  89. name: value
  90. type: integer
  91. unit: min
  92. range:
  93. min: 0
  94. max: 86400
  95. mapping:
  96. - scale: 60
  97. step: 60