LEAHI-DD-FIRMWARE-LDT-4539

Looks On event handled later. One event should be fine for On condtion.

Looks On event handled later. One event should be fine for On condtion.

Space after 0

Space after 0

prevDryBicartState

prevDryBicartState

I guess, you should use OnOff status as second argument, since isBalChamberSwitchingActive varirable set after this function, it won't have latest status.

I guess, you should use OnOff status as second argument, since isBalChamberSwitchingActive varirable set after this function, it won't have latest status.

prevBalChamberState?

prevBalChamberState?

Should we also send an event when we start the heater?

Should we also send an event when we start the heater?

We can combine all these condition checks in a single if() at line 423 separated by || and then we can send the event change in one line. The code will still work if we remove the first condition c...

We can combine all these condition checks in a single if() at line 423 separated by || and then we can send the event change in one line.
The code will still work if we remove the first condition check for prevState from line 427 and 431

LEAHI-DD-FIRMWARE-LDT-4539_Provide event on Service state change
LEAHI-DD-FIRMWARE-LDT-4539_Provide event on Service state change
LEAHI-DD-FIRMWARE-LDT-4539_Provide event on Service state change
LEAHI-DD-FIRMWARE-LDT-4539_Provide event on Service state change