Commit Graph

33 Commits

Author SHA1 Message Date
e39c6abd32 show curtain in devices and implement dialog for if and then (#263)
last integrate with backend

<!--
  Thanks for contributing!

Provide a description of your changes below and a general summary in the
title

Please look at the following checklist to ensure that your PR can be
accepted quickly:
-->

## Jira Ticket
[SP-1728](https://syncrow.atlassian.net/browse/SP-1728)

## Description

implement the dialog for CURTAIN and make it appears with devices in
making Routine
integrate it with backend and test it 
## Type of Change

<!--- Put an `x` in all the boxes that apply: -->

- [x]  New feature (non-breaking change which adds functionality)
- [ ] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ]  Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🧹 Code refactor
- [ ]  Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore 


[SP-1728]:
https://syncrow.atlassian.net/browse/SP-1728?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
2025-06-19 10:45:06 +03:00
ce96afd7af PR fixes 2025-06-19 09:03:24 +03:00
63da660ece refactor: update function handling in routine dialogs 2025-06-18 14:40:25 +03:00
056a1daadc show curtain in devices and implement dialog for if and then
last integrate with backend
2025-06-17 13:34:23 +03:00
c642ba2644 Revert "formatted all files."
This reverts commit 04250ebc98.
2025-06-12 16:04:49 +03:00
04250ebc98 formatted all files. 2025-06-12 15:33:32 +03:00
50fc5f9562 Add 'PC' device to routine 2025-05-27 09:54:21 +03:00
0d45a155e3 add step parameter in onTapFunction.
Add dialogType parameter in WaterHeaterPresenceSensor and CeilingSensorDialog.
Update step parameter in FlushValueSelectorWidget.
Update step parameter in FunctionBloc and WaterHeaterFunctions.
Update step, unit, min, and max parameters in ACFunction subclasses.
2025-05-19 11:22:15 +03:00
36c5712c79 add water heater operational values to routines 2025-05-13 16:24:08 +03:00
ccce7bb671 fix real time garage door and add flush sensor to routines 2025-04-29 10:06:17 +03:00
ebcd89d2a5 Refactor ceiling sensor functions and update slider helper mappings for improved value handling 2025-04-14 16:24:50 +03:00
9a2687d4c5 added some comments for clarity about how we should send the data to BE. 2025-04-14 11:13:27 +03:00
c54fd780b7 Update sensitivity function to adjust max value and add image assets; modify dialog logic for sensitivity handling 2025-04-13 10:43:17 +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
cd9ed5861a Implemented some operations for the cps feature. 2025-04-09 15:40:44 +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
9c97e2879a Refactor constructor syntax for Gateway functions to use initializer list 2025-04-09 10:57:22 +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
006bd4c8ae SP-1364/ Gateway Conditions Popup (for “If” section) 2025-04-08 16:20:22 +03:00
b0846b2fef Add Gateway operational value classes and implementations 2025-04-08 15:08:33 +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
8dc4081a89 save presence state and edit selected value 2025-04-06 16:38:34 +03:00
4fc259491e add WallPresenceSensor and add new icons for presence state and selected value 2025-04-06 09:57:12 +03:00
7e1c2ba712 routines and automation Toggle 2025-03-21 17:14:05 +03:00
b563cc378e Added current temp to AC functions 2025-03-11 23:41:21 +03:00
a98f7e77a3 Implemented side tree to devices and rountines screen 2025-01-04 17:45:15 +03:00