Also, changing the value to, lets say "foobar" removes the error, but I would like the value to be "on".
Also, changing the value to, lets say "foobar" removes the error, but I would like the value to be "on".