dingo35 / ha-SmartEVSEv3

Integrate SmartEVSEv3 with HomeAssistant through custom component
13 stars 8 forks source link

NORMAL mode abnormally changed to SMART after Power Control switch off / swith on #13

Closed negronoir closed 1 year ago

negronoir commented 1 year ago

If Mode is set to NORMAL and you use 'SmartEVSE Power Control' switch to allow or deny charging, when you switch to 'Power off' works fine, Mode goes to OFF and charging is denied. But after that, if you switch to 'Power On' to start charging, Mode does not return to NORMAL. It is is changed to SMART (and 'no comms error' appears as no Sensorbox installed).

Seems to be some kind of error in template that doesn's store right mode retrieved from SmartEVSE and when sets whole template with new 'power control' state, also overwrites 'Normal' mode with 'Smart' value or something like that

(Firm SERKRI-1.5.3)

dingo35 commented 1 year ago

This is intended behavior, the SMART mode is hardcoded. If you want to switch to any other mode you have to use the mode selector switch.

negronoir commented 1 year ago

Thanks for the quick answer. Ok, I've checked that switching mode NORMAL -> OFF -> NORMAL, works fine.

So problem solved. Thanks again!