feyree_ev_portable_charger.yaml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. name: EV portable charger
  2. products:
  3. - id: 4ooiu7apnjjumn0d
  4. manufacturer: Feyree
  5. model: F-M24
  6. entities:
  7. - entity: sensor
  8. class: enum
  9. translation_key: status
  10. icon: "mdi:ev-station"
  11. dps:
  12. - id: 3
  13. type: string
  14. optional: true
  15. name: work_state
  16. mapping:
  17. - dps_val: charger_free
  18. - dps_val: charger_insert
  19. - dps_val: charger_free_fault
  20. - dps_val: charger_wait
  21. - dps_val: charger_charging
  22. - dps_val: charger_pause
  23. - dps_val: charger_end
  24. - dps_val: charger_fault
  25. - id: 14
  26. type: string
  27. optional: true
  28. name: work_mode
  29. mapping:
  30. - dps_val: charge_now
  31. - dps_val: charge_pct
  32. - dps_val: charge_energy
  33. - dps_val: charge_schedule
  34. - id: 15
  35. type: integer
  36. optional: true
  37. name: balance_energy
  38. unit: A
  39. range:
  40. min: 8
  41. max: 16
  42. mapping:
  43. - scale: 3
  44. - id: 18
  45. type: boolean
  46. optional: true
  47. name: switch
  48. - id: 25
  49. type: integer
  50. optional: true
  51. name: charge_energy_once
  52. unit: kWh
  53. range:
  54. min: 0
  55. max: 999999
  56. mapping:
  57. - scale: 2
  58. - entity: button
  59. name: Clear energy
  60. class: restart
  61. category: config
  62. dps:
  63. - id: 16
  64. type: boolean
  65. name: button
  66. optional: true
  67. - entity: number
  68. name: Set charge current
  69. icon: "mdi:ev-plug-type2"
  70. dps:
  71. - id: 114
  72. type: integer
  73. name: value
  74. unit: A
  75. range:
  76. min: 8
  77. max: 16
  78. - entity: number
  79. name: Charge delay
  80. category: config
  81. icon: "mdi:car-clock"
  82. dps:
  83. - id: 118
  84. type: integer
  85. name: value
  86. unit: h
  87. range:
  88. min: 0
  89. max: 15
  90. - entity: number
  91. name: Current charge current
  92. icon: "mdi:ev-plug-type2"
  93. category: config
  94. dps:
  95. - id: 105
  96. type: integer
  97. unit: mA
  98. mapping:
  99. - scale: 1
  100. optional: true
  101. name: current
  102. - entity: sensor
  103. class: power
  104. dps:
  105. - id: 109
  106. type: integer
  107. name: sensor
  108. unit: kW
  109. class: measurement
  110. mapping:
  111. - scale: 10
  112. - entity: sensor
  113. class: temperature
  114. category: diagnostic
  115. dps:
  116. - id: 110
  117. type: integer
  118. name: sensor
  119. unit: C
  120. class: measurement
  121. mapping:
  122. - scale: 10
  123. - entity: switch
  124. name: Start/Stop charging
  125. dps:
  126. - id: 124
  127. type: string
  128. optional: true
  129. name: switch
  130. mapping:
  131. - dps_val: "CloseCharging"
  132. value: false
  133. default: true
  134. - dps_val: "OpenCharging"
  135. value: true
  136. # Commented type mismatch
  137. # - entity: switch
  138. # name: Charging enable
  139. # icon: "mdi:ev-station"
  140. # dps:
  141. # - id: 112
  142. # type: boolean
  143. # name: switch
  144. - entity: sensor
  145. class: voltage
  146. category: diagnostic
  147. dps:
  148. - id: 102
  149. type: integer
  150. name: sensor
  151. unit: V
  152. class: measurement