logicom_powerstrip.yaml 2.2 KB

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