feat(ui): complete app experience redesign
This commit is contained in:
+6
-6
@@ -29,21 +29,21 @@ class SimulationDeviceCatalog : DeviceCatalog {
|
||||
|
||||
private fun defaultDevices(profileId: ProviderProfileId): List<DeviceDescriptor> = listOf(
|
||||
DeviceDescriptor(
|
||||
id = DeviceId("${profileId.value}:socket-1"),
|
||||
id = DeviceId("${profileId.value}:Zigbee插座控制器"),
|
||||
profileId = profileId,
|
||||
name = DeviceName("socket-1"),
|
||||
name = DeviceName("Zigbee插座控制器"),
|
||||
type = DeviceType.SOCKET,
|
||||
),
|
||||
DeviceDescriptor(
|
||||
id = DeviceId("${profileId.value}:th-1"),
|
||||
id = DeviceId("${profileId.value}:温湿度传感器"),
|
||||
profileId = profileId,
|
||||
name = DeviceName("th-1"),
|
||||
name = DeviceName("温湿度传感器"),
|
||||
type = DeviceType.TEMPERATURE_HUMIDITY,
|
||||
),
|
||||
DeviceDescriptor(
|
||||
id = DeviceId("${profileId.value}:ir-1"),
|
||||
id = DeviceId("${profileId.value}:红外控制器"),
|
||||
profileId = profileId,
|
||||
name = DeviceName("ir-1"),
|
||||
name = DeviceName("红外控制器"),
|
||||
type = DeviceType.INFRARED,
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user