ZigbeeApp/Shared/Phone/Device/Category/SelectScene.cs
@@ -40,7 +40,10 @@ /// sceneUI /// </summary> public SceneUI sceneUI; /// <summary> /// 当前场景本身,添加场景时使用 /// </summary> public SceneUI currentSceneUI; #endregion @@ -270,6 +273,10 @@ for (int i = 0; i < sceneList.Count; i++) { var scene = sceneList[i]; if (currentSceneUI?.Id == scene.Id) { continue; } if (beforeSceneTargetDeviceUIs.Find((obj) => obj.SceneUI.Id == scene.Id) != null) { continue;