-
|
hi, I have a fan that not smart enough to reflect the state correctly. But I have a wall switch that has energy reading, was trying to make the fan spin if the wattage reading is above 40 watts. I am quite bad at coding, takes me ages to figure out stuff even using tutorials, any help would be wonderful. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
There is a big series of posts that @exetico did to show a variety of ways to do this (#264 (comment)) but this should work: P.S. Next time to make it easier to help you please format your code by highlighting it and pressing the <> button. |
Beta Was this translation helpful? Give feedback.

There is a big series of posts that @exetico did to show a variety of ways to do this (#264 (comment)) but this should work:
P.S. Next time to make it easier to help you please format your code by highlighting it and pressing the <> button.