logicom_powerstrip.yaml 2.6 KB

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