confirmed the Local Experience device card shows 智能插座
confirmed the socket detail screen has no Direct control section or duplicate ON/OFF buttons
Automated tests were not run.
## Summary
- change the default socket device name from Zigbee插座控制器 to 智能插座
- update new default scenes, in-memory defaults, and Local Experience simulation data to use the new gateway name
- remove the duplicated Direct control section from the smart socket detail screen, keeping the main power control
- remove the unused direct-control strings
## Data behavior
- existing configured devices are not renamed
- existing persisted scenes are not migrated
- only newly created default content uses 智能插座
## Verification
- ./gradlew.bat :android:app:assembleDebug --no-daemon
- installed on mulator-5554
- confirmed the Local Experience device card shows 智能插座
- confirmed the socket detail screen has no Direct control section or duplicate ON/OFF buttons
Automated tests were not run.
Here are some key observations to aid the review process:
⏱️Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪No relevant tests
🔒No security concerns identified
## PR Reviewer Guide 🔍
Here are some key observations to aid the review process:
<table>
<tr><td>⏱️ <strong>Estimated effort to review</strong>: 2 🔵🔵⚪⚪⚪</td></tr>
<tr><td>🧪 <strong>No relevant tests</strong></td></tr>
<tr><td>🔒 <strong>No security concerns identified</strong></td></tr>
</table>
KremeCN
merged commit 387ecacef5 into main2026-08-28 07:07:22 +08:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Data behavior
Verification
Automated tests were not run.
Inline comment
@@ -29,9 +29,9 @@ class SimulationDeviceCatalog : DeviceCatalog {private fun defaultDevices(profileId: ProviderProfileId): List<DeviceDescriptor> = listOf(DeviceDescriptor(id = DeviceId("${profileId.value}:Zigbee插座控制器"),场景失效
本地体验的设备目录在进程重建后只会生成名为
智能插座的设备,但已有持久化场景不会迁移,仍通过DeviceName("Zigbee插座控制器")定位设备。用户升级并重启后,原有回家、离家及高温降温场景将无法匹配模拟插座。需要迁移旧场景,或为模拟设备保留旧名称的兼容映射。预期行为
PR Reviewer Guide 🔍
Here are some key observations to aid the review process: