Closed jannylund closed 7 years ago
Thanks a lot for this! Neat find and great solution 👍
This would need to be rebased on master, if you just push that change (and address the comment as well so that we'll know whats happening there in 6 months as well) and I'll gladly merge it :)
Some temperature senors are wrongly identifying them as
temperaturehumidity
and shows up withhumidity=0
in tdtool. This makes them show up in homekit, which is a bit annoying.Please see this example:
A proper sensor should however never be able to reach 0, so we can identify these already when setting up sensors. There are probably many ways to do it, but I propose the following as it's easy to understand and covers the usecases I can think of.