es01_powerstrip.yaml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. name: Smart plug with USB
  2. products:
  3. - id: hsoiigeykxh9m4hx
  4. model: ES-01
  5. entities:
  6. - entity: switch
  7. class: outlet
  8. translation_key: switch_x
  9. translation_placeholders:
  10. x: "1"
  11. dps:
  12. - id: 1
  13. type: boolean
  14. name: switch
  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: s
  50. range:
  51. min: 0
  52. max: 86400
  53. - entity: number
  54. category: config
  55. translation_key: timer_x
  56. translation_placeholders:
  57. x: "2"
  58. class: duration
  59. dps:
  60. - id: 6
  61. name: value
  62. type: integer
  63. unit: s
  64. range:
  65. min: 0
  66. max: 86400
  67. - entity: number
  68. category: config
  69. translation_key: timer_x
  70. translation_placeholders:
  71. x: "3"
  72. class: duration
  73. dps:
  74. - id: 7
  75. name: value
  76. type: integer
  77. unit: s
  78. range:
  79. min: 0
  80. max: 86400
  81. - entity: number
  82. category: config
  83. name: USB timer
  84. translation_key: timer
  85. class: duration
  86. dps:
  87. - id: 8
  88. name: value
  89. type: integer
  90. unit: s
  91. range:
  92. min: 0
  93. max: 86400