hannseman / homebridge-mi-hygrothermograph

Homebridge plugin for the Xiaomi Mi Bluetooth Temperature and Humidity Sensor
MIT License
264 stars 52 forks source link

Offset-Humidity in Advanced Configuration not working correctly #195

Open MontroseSt opened 6 months ago

MontroseSt commented 6 months ago

I had added an offset to humidity in advanced settings, which appears to be correctly applied in the visual output. However, the triggers I had created in homekit did not work correctly with the offset applied. They only worked correctly when I removed the offset and changed the triggers to account for offset. E..g instead of applying an offset of -10 in advanced configuration, I added +10 for the trigger to account for the offset. I suspect that the visual output is correct, but the actual output for homekit does not change

Expected Behavior

Humidity Offset should be applied for homekit triggers

Current Behavior

Humidity Offset is applied visually, but does not seem to be applied correctly for homekit triggers

Steps to Reproduce (for bugs)

Versions