@name Grav
@inputs 
@outputs OUTPUT DISTANCE
@persist 
@trigger 
runOnTick(1)
if(lastSaid():lower() == "off")
{
    OUTPUT = 1
}

if(lastSaid():lower() == "on")
{
    OUTPUT = 0
}

DISTANCE = 9999999999
