smart_powerstrip.yaml 2.5 KB

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