added inverted option and confi shema
sensor-config-shema