Commit Graph

963 Commits

Author SHA1 Message Date
9d3b58deeb Refactor wall presence sensor components and add new widgets for improved functionality and clarity to ensure reusability in the future for other devices. 2025-04-10 14:32:09 +03:00
9ca6fb8640 Remove unnecessary extension methods for operational value codes in CPS functions 2025-04-10 14:03:44 +03:00
796409600e Update operation codes for CpsPresenceJudgementThresholdFunction and CpsMotionAmplitudeTriggerThresholdFunction. 2025-04-10 14:03:08 +03:00
75b2f96428 added spaces in operational value descriptions to match figma design. 2025-04-10 11:27:02 +03:00
7c68b90aef Refactor CPS functions to implement operational value generation with min, max, and step parameters. 2025-04-10 10:59:43 +03:00
729080ec4e Refactor CPS function codes to use helper methods for consistency and clarity 2025-04-10 10:11:12 +03:00
627ff4e929 Update operation codes and values for various CPS functions. 2025-04-09 17:00:21 +03:00
6d612398ed Update operation names in CpsFunctions and add toggle codes to CeilingSensorHelper 2025-04-09 16:41:03 +03:00
3f565788d5 Refactor CeilingSensorDialog to be a StatefulWidget. 2025-04-09 15:42:22 +03:00
120ed85d10 Add CPS case to device function switch for ceiling sensor integration 2025-04-09 15:41:28 +03:00
c1d9846899 Enhance CeilingSensorHelper: Add deviceName and deviceId parameters to sensor functions 2025-04-09 15:41:21 +03:00
cd9ed5861a Implemented some operations for the cps feature. 2025-04-09 15:40:44 +03:00
c0662bb19e Added assets. 2025-04-09 15:23:56 +03:00
5b29228738 Merge branch 'dev' of https://github.com/SyncrowIOT/web into SP-1275-FE-Identify-Add-Ceiling-Sensor-Card-to-IF-THEN-Sections 2025-04-09 13:21:43 +03:00
c23176706f Merge pull request #136 from SyncrowIOT/SP-1367-FE-Save-Flow-edit-or-delete-the-device-functions
Implementing the Ceiling Sensor in Routine WEB
2025-04-09 13:19:53 +03:00
4ea91b9333 SP-1276/ Show Configuration Pop-up on Drop. 2025-04-09 13:16:36 +03:00
6c691d4b3c displays ceiling sensor in routine 2025-04-09 12:46:43 +03:00
387ef99728 fix: handle nullable uuid in GatewayModel.fromJson 2025-04-09 12:33:20 +03:00
694a5a7dda Refactor GatewayModel.fromJson to use a loop for status parsing instead of firstWhere. 2025-04-09 12:32:44 +03:00
c90b9a1912 bugfix/ range index errorof automations in routines. 2025-04-09 12:24:59 +03:00
7860292276 Merge branch 'dev' of https://github.com/SyncrowIOT/web into SP-1367-FE-Save-Flow-edit-or-delete-the-device-functions 2025-04-09 12:19:53 +03:00
550acc4953 Merge pull request #137 from SyncrowIOT/fix-remove-option-from-then-dialog-routins
add dialogType to devices and add parameter in showSwitchFunctionsDialog
2025-04-09 12:18:33 +03:00
fd6b737556 Refactor one_gang_switch_dialog.dart to use one_gang_switch instead of ac in function names and variables 2025-04-09 12:17:26 +03:00
3d5825adca Merge branch 'SP-1366-FE-Add-Gateway-Device-Card-to-Devices-Section' of https://github.com/SyncrowIOT/web into SP-1367-FE-Save-Flow-edit-or-delete-the-device-functions 2025-04-09 11:21:20 +03:00
9c97e2879a Refactor constructor syntax for Gateway functions to use initializer list 2025-04-09 10:57:22 +03:00
fda96025e9 uncommented code. 2025-04-09 10:41:38 +03:00
92aa574944 update GatewayMasterState.getOperationalValues to match what the api expects. 2025-04-09 10:21:49 +03:00
d08ab8caac add dialogType to devices and add parameter in showSwitchFunctionsDialog 2025-04-09 10:09:56 +03:00
774f21a55b Refactor RoutineDevices to consolidate device data preparation in a single map to remove code duplication. 2025-04-09 09:59:15 +03:00
9b69ec31e9 Refactor RoutineDevices to use a class-level constant for allowed product types. 2025-04-09 09:57:18 +03:00
a242377ea6 Fully refactored CreateRoutine/Gateway feature. 2025-04-09 09:46:45 +03:00
3a0c8edf86 SP-1365/ Gateway Functions Popup (for “Then” section). 2025-04-08 16:42:31 +03:00
970f7ed16f SP-1365 2025-04-08 16:42:12 +03:00
006bd4c8ae SP-1364/ Gateway Conditions Popup (for “If” section) 2025-04-08 16:20:22 +03:00
b6752683fd Add Gateway dialog and functions integration 2025-04-08 15:08:53 +03:00
b0846b2fef Add Gateway operational value classes and implementations 2025-04-08 15:08:33 +03:00
8a244dcd23 Created GatewayModel. 2025-04-08 15:08:15 +03:00
9d4395e204 Added gateway product type to IfContainer. 2025-04-08 15:08:01 +03:00
46f318734a Add SVG icons for active bell and gear 2025-04-08 15:06:17 +03:00
7accf1d4c8 SP-1366- Add Gateway Device Card to Devices Section. 2025-04-08 13:07:53 +03:00
c2476b9719 Merge pull request #132 from SyncrowIOT/fix_routine_popup_and_wall_sensor_bugs
Fix routine popup and wall sensor bugs
2025-04-07 16:43:48 +03:00
a56f4e488e Refactor routine_view_card.dart to adjust the size of the CircularProgressIndicator
Fix routine popup
Update wall_presence_sensor.dart to handle null selectedOperationName
2025-04-07 16:42:44 +03:00
6bd9fb7e4e Refactor routine_view_card.dart to adjust the size o 2025-04-07 16:22:21 +03:00
d264409d29 - Refactor the WpsFunctions class in wps_functions.dart to use 'cm' instead of 'temp' for the description of operational values.
- Update the WallPresenceSensor class in wall_presence_sensor.dart to use the selected operation name
2025-04-07 14:27:36 +03:00
ca44f3bf55 fix routine popup 2025-04-07 12:53:12 +03:00
9949a0a0bf Merge pull request #131 from SyncrowIOT/SP-1281-FE-Save-Display-Configured-Sensor-as-a-Card
save presence state and edit selected value
2025-04-07 09:30:38 +03:00
8dc4081a89 save presence state and edit selected value 2025-04-06 16:38:34 +03:00
52498f4e6b Merge pull request #130 from SyncrowIOT/routine_ui_issue
Refactor SVG icons and update asset paths and fix RoutinesView issues
2025-04-06 16:33:49 +03:00
37440f288c Merge branch 'dev' into routine_ui_issue 2025-04-06 16:27:34 +03:00
973ae82bec Merge pull request #125 from SyncrowIOT/SP-1271-rework
SP-1271-rework
2025-04-06 11:59:46 +03:00