mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-24 20:57:55 +00:00
door sensor
This commit is contained in:
@@ -62,11 +62,14 @@ class DeviceModel {
|
||||
tempIcon = Assets.oneGang;
|
||||
} else if (type == DeviceType.TwoGang) {
|
||||
tempIcon = Assets.twoGang;
|
||||
}else if (type == DeviceType.WH) {
|
||||
} else if (type == DeviceType.WH) {
|
||||
tempIcon = Assets.waterHeaterIcon;
|
||||
} else if (type == DeviceType.DS) {
|
||||
tempIcon = Assets.doorSensorIcon;
|
||||
} else {
|
||||
tempIcon = Assets.assetsIconsLogo;
|
||||
}
|
||||
|
||||
return DeviceModel(
|
||||
icon: tempIcon,
|
||||
activeTime: json['activeTime'],
|
||||
|
||||
Reference in New Issue
Block a user