<option value="ON"  <?php if ($_SESSION['SONDE_SHELLY_EN'] == "ON") echo "selected"; ?> >ON</option>
<option value="OFF" <?php if ($_SESSION['SONDE_SHELLY_EN'] != "ON") echo "selected"; ?> >OFF</option>
