I'm using your driver (thanks for releasing, works a treat) with this temp/humidity sensor.
It appears that the 'Enable Info Message Logging' doesn't work.
The first messages are when it in enabled.
dev:77112021-01-21 15:33:04.862 infoBathroom-Humidity: Info message logging enabled
and as you can see, the same messages are displayed when it is turned off.
dev:77112021-01-21 15:35:00.922 infoBathroom-Humidity: Updating preference settings
I can confirm that messages are reported whether enabled or disabled.
As I'm not a coder I have no idea where to look or what to do to amend the code to get it to work OK.
It's no big deal but thought I would mention it and any advice on how to get it to work would be appreciated.