Open shawnmolnar opened 5 months ago
I've never tried swapping the unit of measurement after it was created in Home Assistant.
You might need to delete the device and add it again or maybe just the two entities
on that line : double tmp = (HexString2ASCIIString(result.substring(4, 10)).toDouble() / 10);
just remove the divided by 10 it will fix the 10.1 and in Home assistant you can change the unit for F
Like that double tmp = (HexString2ASCIIString(result.substring(4, 10)).toDouble());
Now that I've got my issues sorted out with the M5 Atom Lite, now I'm running in to another issue where the hot tub is reporting in Fahrenheit, but it's showing up as celcius.
I'm using the latest main branch, and turned on the USE_FAHRENHEIT flag, but in home assistant I'm still reporting as 10.1C when it should be 101F. Drop that flag, change hot tub to Celcius, and it works fine, but wife's preference is Fahrenheit. Looks like there needs to be some additional handling in the tub temp side of things for F vs C.
I'm no developer, but I may take a stab at it if I have some time coming up. For now I'm in Celsius until I can get this side figured out.