        <option value="{{ $device.ChannelId }};{{ $mode }}" selected>{{ $mode }}</option>
                                                {{ else }}
                                                <option value="{{ $device.ChannelId }};{{ $mode }}">{{ $mode }}</option>
                                                {{ end }}
                                                {{ end }}
                                            </select>
                                        </li>
                          