feyree_ev_portable_charger.yaml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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: 101
  13. type: string
  14. name: sensor
  15. mapping:
  16. - dps_val: no_connect
  17. value: available
  18. - dps_val: connect
  19. value: plugged_in
  20. - dps_val: charing
  21. value: charging
  22. - dps_val: wait_rfid
  23. value: waiting_for_authorization
  24. - dps_val: finish
  25. value: charged
  26. - dps_val: wait_charing
  27. value: waiting
  28. - dps_val: error
  29. value: fault
  30. - id: 3
  31. type: string
  32. optional: true
  33. name: work_state
  34. mapping:
  35. - dps_val: charger_free
  36. - dps_val: charger_insert
  37. - dps_val: charger_free_fault
  38. - dps_val: charger_wait
  39. - dps_val: charger_charging
  40. - dps_val: charger_pause
  41. - dps_val: charger_end
  42. - dps_val: charger_fault
  43. - id: 14
  44. type: string
  45. optional: true
  46. name: work_mode
  47. mapping:
  48. - dps_val: charge_now
  49. - dps_val: charge_pct
  50. - dps_val: charge_energy
  51. - dps_val: charge_schedule
  52. - id: 15
  53. type: integer
  54. optional: true
  55. name: balance_energy
  56. unit: A
  57. range:
  58. min: 8
  59. max: 16
  60. mapping:
  61. - scale: 3
  62. - id: 18
  63. type: boolean
  64. optional: true
  65. name: switch
  66. - id: 25
  67. type: integer
  68. optional: true
  69. name: charge_energy_once
  70. unit: kWh
  71. range:
  72. min: 0
  73. max: 999999
  74. mapping:
  75. - scale: 2
  76. - entity: button
  77. name: Clear energy
  78. class: restart
  79. category: config
  80. dps:
  81. - id: 16
  82. type: boolean
  83. name: button
  84. optional: true
  85. - entity: number
  86. name: Set charge current
  87. icon: "mdi:ev-plug-type2"
  88. dps:
  89. - id: 114
  90. type: integer
  91. name: value
  92. unit: A
  93. range:
  94. min: 8
  95. max: 16
  96. - entity: number
  97. name: Charge delay
  98. category: config
  99. icon: "mdi:car-clock"
  100. dps:
  101. - id: 118
  102. type: integer
  103. name: value
  104. unit: h
  105. range:
  106. min: 0
  107. max: 15
  108. - entity: number
  109. name: Current charge current
  110. icon: "mdi:ev-plug-type2"
  111. category: config
  112. dps:
  113. - id: 105
  114. type: integer
  115. unit: mA
  116. mapping:
  117. - scale: 1
  118. optional: true
  119. name: current
  120. - entity: sensor
  121. class: power
  122. dps:
  123. - id: 109
  124. type: integer
  125. name: sensor
  126. unit: kW
  127. class: measurement
  128. mapping:
  129. - scale: 10
  130. - entity: sensor
  131. class: temperature
  132. category: diagnostic
  133. dps:
  134. - id: 110
  135. type: integer
  136. name: sensor
  137. unit: C
  138. class: measurement
  139. mapping:
  140. - scale: 10
  141. - entity: switch
  142. name: Start/Stop charging
  143. dps:
  144. - id: 124
  145. type: string
  146. optional: true
  147. name: switch
  148. mapping:
  149. - dps_val: "CloseCharging"
  150. value: false
  151. default: true
  152. - dps_val: "OpenCharging"
  153. value: true
  154. # Commented type mismatch
  155. # - entity: switch
  156. # name: Charging enable
  157. # icon: "mdi:ev-station"
  158. # dps:
  159. # - id: 112
  160. # type: boolean
  161. # name: switch
  162. - entity: sensor
  163. class: voltage
  164. category: diagnostic
  165. dps:
  166. - id: 102
  167. type: integer
  168. name: sensor
  169. unit: V
  170. class: measurement