Contribution - LG Thinq [WasherDryer & DishWasher]

Hi, @tizen

About issues you mentioned here:

  1. Power State: actually, your machine is suppose to be ON even after complete the cycle. The Power goes to OFF when the state goes to POWEROFF (and you can see in the picture the state is Complete/END).
  2. 00:01 - apparently, when the cycle finish, the DW stop to send state changes to the API and sometimes the last snapshot remains 00:01. I changed the logic for this to force the remaining goes to 00:00 when state is complete. I think it will fix this issue;

Wrapping all these up, this scenario appears to me as the DW is missing to send the last event to the LG API. I really don’t know, but we can do some tests to undertand better this behavior.

I gonna ask you to:

  1. Put the binding in debug mode
  2. run a washing cycle and in the end, see if the result is the same (00:01 & Power not go to OFF even after power off physically)
  3. collect the in the userdata folter (mine is in /srv/openhab-userdata/thinq) the thinq-XXXXX-datatrace.json related to your DishWasher and attach here.
  4. Tell me the last update date for this file and if is the same as the the near current time.