espfort_ecspsp_usbsmartplug.yaml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. name: USB smartplug
  2. products:
  3. - id: ynz9qmnmnsciccyc
  4. manufacturer: ESP Fort
  5. model: EC-SPSP
  6. entities:
  7. - entity: switch
  8. class: outlet
  9. name: USB
  10. icon: "mdi:usb"
  11. dps:
  12. - id: 1
  13. type: boolean
  14. name: switch
  15. - entity: switch
  16. class: outlet
  17. dps:
  18. - id: 2
  19. type: boolean
  20. name: switch
  21. - id: 42
  22. type: string
  23. name: cyclic_schedule
  24. - id: 43
  25. type: string
  26. name: random_schedule
  27. - id: 44
  28. type: string
  29. name: inching
  30. - entity: number
  31. category: config
  32. name: USB timer
  33. class: duration
  34. translation_key: timer
  35. dps:
  36. - id: 9
  37. type: integer
  38. name: value
  39. unit: min
  40. range:
  41. min: 0
  42. max: 86400
  43. mapping:
  44. - scale: 60
  45. step: 60
  46. - entity: number
  47. category: config
  48. class: duration
  49. translation_key: timer
  50. dps:
  51. - id: 10
  52. type: integer
  53. name: value
  54. unit: min
  55. range:
  56. min: 0
  57. max: 86400
  58. mapping:
  59. - scale: 60
  60. step: 60
  61. - entity: select
  62. translation_key: initial_state
  63. category: config
  64. dps:
  65. - id: 38
  66. type: string
  67. name: option
  68. mapping:
  69. - dps_val: "off"
  70. value: "off"
  71. - dps_val: "on"
  72. value: "on"
  73. - dps_val: memory
  74. value: memory
  75. - entity: select
  76. name: Light mode
  77. icon: "mdi:television-ambient-light"
  78. category: config
  79. dps:
  80. - id: 40
  81. type: string
  82. name: option
  83. mapping:
  84. - dps_val: relay
  85. value: State
  86. - dps_val: pos
  87. value: Position
  88. - dps_val: none
  89. value: "Off"
  90. - entity: lock
  91. translation_key: child_lock
  92. category: config
  93. dps:
  94. - id: 41
  95. type: boolean
  96. name: lock