un sure what i am doing wrong here but here is my webcore
ok, that worked. however I just noticed that if the light is off to begin with it will then set the light to the level it was before it went off when it turns on. With the change i just made it now goes back the level it was if it was already on though which is great