Commit Graph

37 Commits

Author SHA1 Message Date
adb42f95e8 Implement Flush Mounted Presence Sensor Routine Control and change the device type logic 2025-05-11 16:33:11 +03:00
8a21828dd4 add water heater device to routine and fix device type in routine 2025-05-05 10:00:54 +03:00
2b0e504f05 Refactor device name display in Action and Condition models 2025-04-23 10:07:14 +03:00
a51c4d9679 Refactor device name display in RoomPageSwitch widget 2025-04-21 15:00:31 +03:00
73d28a1800 Refactor Action class to use type annotations for actionExecutor and entityId 2025-04-17 10:41:01 +03:00
7005d8ba83 Refactor device filtering logic and improve code readability
- Extracted the logic for filtering implemented devices into a separate method `_getOnlyImplementedDevices`
- Created a set `allowedDevices` to store the allowed device types
- Updated the filtering logic to use the `allowedDevices` set for checking device types
- Removed unnecessary conditions for filtering devices

Fix nullability issues in `Action` model

- Added null checks for `actionExecutor`, `entityId`, `name`, `type`, and `productType` properties in the `fromJson` method of the `Action` model
- Set default values for `actionExecutor` and `entityId` if they are null
- Updated the type casting for `name`, `type`, and `productType` properties to avoid potential nullability issues
2025-04-17 10:16:10 +03:00
60df77efad add OneGang product type to routine 2025-04-17 09:32:20 +03:00
2ac8128eff actionType automation 2024-12-02 14:27:47 +03:00
e9615cd351 Fixed show in device bug 2024-11-05 12:52:11 +04:00
7d51ca1f12 Fixed bugs in automation 2024-11-05 00:52:38 +04:00
87a4a88417 fixed automation 2024-11-02 23:10:24 +04:00
36e5df38ee Merge branch 'dev' of https://github.com/SyncrowIOT/syncrow-app into feat/refactor 2024-10-31 10:45:08 +04:00
80d2651370 scene and automation has been updated 2024-10-31 10:19:38 +04:00
3d56f33ec3 Implemented tab to run setting 2024-10-28 16:45:59 +03:00
769be41855 con setting 2024-10-27 17:16:37 +03:00
3760329236 push fixes 2024-08-04 16:41:13 +03:00
b66fbc32e7 push fixes 2024-08-01 03:11:03 +03:00
2f6d073955 fix bugs 2024-07-29 22:36:05 +03:00
eb8ad90dcb push switch autoaomtion status update 2024-07-28 06:57:33 +03:00
50b455b4ae push dialog changes in values 2024-07-28 05:04:57 +03:00
6a128f9558 finished bugs 2024-07-27 17:26:44 +03:00
8a4c5af2e7 push automation details and update automation 2024-07-25 00:25:48 +03:00
7a773f1653 push autoamtion api connect 2024-07-24 01:41:10 +03:00
9f68e4695f add autoamtion tasks 2024-07-22 23:56:33 +03:00
9ea4997467 push integer step dialog design 2024-07-16 01:13:45 +03:00
acbd4a9968 push door lock automation functions 2024-07-14 02:48:26 +03:00
75fe80e72a commit last changes 2024-07-01 22:31:50 +03:00
f285afcbe6 adding the delay 2024-07-01 05:23:27 +03:00
32b992e276 connect delete api 2024-07-01 03:44:57 +03:00
c01d9034fd push put api 2024-07-01 01:57:13 +03:00
cc6b754845 push temp list logic before saving 2024-06-30 21:22:33 +03:00
6584b894c4 finished get scene details 2024-06-30 01:54:08 +03:00
043e8c1e2d connected rest of the devices and functions and trigger api 2024-06-29 18:24:33 +03:00
17881694e0 connected all apis , create functionality is working 2024-06-27 02:35:50 +03:00
9fe25b9bd3 finished adding tasks and removing them , added error handling 2024-06-26 20:32:34 +03:00
3ddd4ed197 push functions static data 2024-06-26 02:18:15 +03:00
3190361901 initialized Application theme 2024-02-17 16:27:27 +03:00