Open viper33802 opened 3 years ago
friend. You have error here no ?
if (humidity < humion)
should be
if (humisensor < humion)
friend. You have error here no ?
if (humidity < humion)
should be
if (humisensor < humion)
you were correct. I updated the code in my comment above.
If u wanna take a look ;) all free https://github.com/hellresistor/FIFU-Project
Converted msg.payload objects to variables in the function. Created 2 new variables for the Humidity on and off percent. Updated the function to output the new values to a third function output everytime the function is ran. Using the third output to report these on/off values back to Home Assistant into an Input_number helper.