Closed NickStallman closed 1 year ago
I think that they're changing some meaning of some of the codes between the brands... this one should just be a bool (0 or 1), but clearly isn't. I've added your patch for now, but we may need to make some other updates.
When using this with a brand new Haier fridge (Model HRF680YPAA) I kept getting this error:
I added some additional error checking in
gehomesdk/erd/erd_encoder.py
and got this:No clue why it's set to 0A.
My little patch adds a except for ValueError.
Currently if that error is hit then the entire thing aborts, with that except it will continue running at least which seems like a good idea. Not sure if erd_decode_bytes is the correct thing but it seems to work.