Skip to content

Commit

Permalink
Initialise the EVSE state to active on startup
Browse files Browse the repository at this point in the history
This makes sure the button knows the correct state when toggling. Fixes DEV V4.0: Pysical push button override #147
  • Loading branch information
jeremypoulter committed Jul 18, 2021
1 parent bf304ff commit 9e3cbbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/evse_man.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ EvseManager::EvseManager(Stream &port) :
_clients(),
_evseStateListener(this),
_sessionCompleteListener(this),
_targetProperties(),
_targetProperties(EvseState::Active),
_hasClaims(false),
_sleepForDisable(true),
_evaluateClaims(false),
_evaluateClaims(true),
_evaluateTargetState(false),
_waitingForEvent(0)
{
Expand Down

0 comments on commit 9e3cbbf

Please sign in to comment.