es01_powerstrip.yaml 2.0 KB

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