Hi @DrBando,
as this topic has already a solution, you might want to start a new discussion to get more attention.
To your question: I don’t understand your code either , so let me ask some questions and we might get there.
- Your dew point delta of “5” seems to be high. In our area/house the difference between insight and outside dew point is almost always not that big. You might want to reduce the delta-trigger?
- You added some code in the service action. I am not a pro, but I have never seen something like this. Your code seems to be a condition. So, why don’t you add your conditions under condition? In my understanding, the action is only used to trigger something - no calculations there.
- The dew point plot is your delta or the actual dew point (inside or outside)? (based on your code, you are German speaking. Where do you life so that you have a negative dew point in September? Perhaps something wrong with the sensor? )
Chris