Shower detection (depends on humidity)

Thank you all, for the constructive ideas.
I will test both variants in parallel and compare the response times and reliability.

And thanks for the push in the direction of Design Pattern: How to Structure a Rule
It will help me to optimize my system and reminds me to spend more time to write more clean and efficient code.