pottio/ioBroker.warp

Wrong Charger_State enum

Opened this issue · 0 comments

der-c commented

Hi,

while charging the state shows ERROR(3). The enum is not correct.
The api shows 5 enums and 3 is charging not error. https://www.warp-charger.com/api.html#states_section_states

The enum in warp-api-definitions.ts:
Param.enum('charger_state', { 0: 'NOT_CONNECTED', 1: 'CONNECTED', 2: 'CHARGING', 3: 'ERROR' })

Greetings,
Lars