I want to creat automation to run every 30 seconds.
By taking the power value from the smart meter to turn on and off other devices According to the following conditions
if smart meter value between 100-200 w
open device 1
else <100
off device 1
endif