diff --git a/assets/icons/refresh_status_icon.svg b/assets/icons/refresh_status_icon.svg
new file mode 100644
index 00000000..eb375bd8
--- /dev/null
+++ b/assets/icons/refresh_status_icon.svg
@@ -0,0 +1,12 @@
+
diff --git a/lib/pages/device_managment/all_devices/models/devices_model.dart b/lib/pages/device_managment/all_devices/models/devices_model.dart
index 485cb0ec..de1b7632 100644
--- a/lib/pages/device_managment/all_devices/models/devices_model.dart
+++ b/lib/pages/device_managment/all_devices/models/devices_model.dart
@@ -12,6 +12,7 @@ import 'package:syncrow_web/pages/routines/models/gang_switches/one_gang_switch/
import 'package:syncrow_web/pages/routines/models/gang_switches/three_gang_switch/three_gang_switch.dart';
import 'package:syncrow_web/pages/routines/models/gang_switches/two_gang_switch/two_gang_switch.dart';
import 'package:syncrow_web/pages/routines/models/gateway.dart';
+import 'package:syncrow_web/pages/routines/models/water_heater/water_heater_functions.dart';
import 'package:syncrow_web/pages/routines/models/wps/wps_functions.dart';
import 'package:syncrow_web/pages/routines/widgets/routine_dialogs/ceiling_sensor/ceiling_sensor_helper.dart';
import 'package:syncrow_web/utils/constants/assets.dart';
@@ -358,7 +359,10 @@ SOS
case 'NCPS':
return [
FlushPresenceDelayFunction(
- deviceId: uuid ?? '', deviceName: name ?? '', type: 'IF',),
+ deviceId: uuid ?? '',
+ deviceName: name ?? '',
+ type: 'IF',
+ ),
FlushIlluminanceFunction(
deviceId: uuid ?? '', deviceName: name ?? '', type: 'IF'),
@@ -378,6 +382,17 @@ SOS
FlushTriggerLevelFunction(
deviceId: uuid ?? '', deviceName: name ?? '', type: 'THEN'),
];
+ case 'WH':
+ return [
+ WHRestartStatusFunction(
+ deviceId: uuid ?? '', deviceName: name ?? '', type: 'IF'),
+ WHSwitchFunction(
+ deviceId: uuid ?? '', deviceName: name ?? '', type: 'BOTH'),
+ TimerConfirmTimeFunction(
+ deviceId: uuid ?? '', deviceName: name ?? '', type: 'BOTH'),
+ BacklightFunction(
+ deviceId: uuid ?? '', deviceName: name ?? '', type: 'IF'),
+ ];
default:
return [];
diff --git a/lib/pages/routines/helper/dialog_helper/device_dialog_helper.dart b/lib/pages/routines/helper/dialog_helper/device_dialog_helper.dart
index a94a312b..bdba5797 100644
--- a/lib/pages/routines/helper/dialog_helper/device_dialog_helper.dart
+++ b/lib/pages/routines/helper/dialog_helper/device_dialog_helper.dart
@@ -10,6 +10,7 @@ import 'package:syncrow_web/pages/routines/widgets/routine_dialogs/one_gang_swit
import 'package:syncrow_web/pages/routines/widgets/routine_dialogs/three_gang_switch_dialog.dart';
import 'package:syncrow_web/pages/routines/widgets/routine_dialogs/two_gang_switch_dialog.dart';
import 'package:syncrow_web/pages/routines/widgets/routine_dialogs/wall_sensor/wall_presence_sensor.dart';
+import 'package:syncrow_web/pages/routines/widgets/routine_dialogs/water_heater/water_heater_presence_sensor.dart';
class DeviceDialogHelper {
static Future