Commit Graph

22 Commits

Author SHA1 Message Date
d97efe229d door sensor 2024-09-22 17:27:29 +03:00
c3273c729d water heater and timer and schedule ui and api ,
Circulate ui and Inching ui
2024-09-21 08:53:43 +03:00
46662b5bac Implement Two-Gang & One-Gang 2024-09-15 10:15:37 +03:00
5eee0a2bfd Merged with SP-203 2024-07-25 14:15:06 +03:00
9f68e4695f add autoamtion tasks 2024-07-22 23:56:33 +03:00
980d1017eb Improved the performance of the AC device 2024-07-21 02:10:04 +03:00
288ea6a1e2 Bug fixes 2024-06-30 15:10:01 +03:00
fbe2f5fe53 !! BIG CHANGE TO ASSETS GEN !!
changed the method of generating assets to be more declrative when it comes to names of the assets.

it now include the file path name e.g (asset in the path "assets/images/home-images/home.png" will be generated as this "String assetsImagesHomeImageshome = "path" ".

this will be very helpful in the future when we want to orgnize the assets dir.
2024-05-07 12:26:12 +03:00
f8358a0877 Updated the API Endpoints, API Calls, Data Models and cubits to the lateset changes from the backend 2024-04-29 10:00:58 +03:00
13bfcdfb4d Update device icons and refactor AC interface widget
- Update device icons to match new design requirements
- Refactor AC interface widget to use a more descriptive variable name
- Implement temperature control functionality in AC interface widget
2024-04-04 00:38:27 +03:00
e49627d3e1 Add status model and fetch device statuses
Added a new StatusModel class to represent device statuses and implemented
functionality to fetch and update device statuses in the DevicesCubit and
DeviceModel classes. Also updated UI components to display device status
information.
2024-04-03 11:07:55 +03:00
9cc479ba17 Refactor email and password validation logic in LoginForm widget
Update email and password validation logic in the LoginForm widget to only
perform validation when the state is not AuthTokenError. This ensures that
validation is skipped when there is an authentication token error.
2024-04-02 18:09:23 +03:00
81625cd50e Add device icons based on device type and update network exception handling
- Add logic to set device icons based on device type in DeviceModel.fromJson method
- Update network exception handling to parse HTML response in ServerFailure class
- Add html package as a dependency for parsing HTML responses
-Added Devices Icons by updateing device types mapping
2024-04-02 15:11:20 +03:00
a20dfa3709 Refactor device status handling and update UI components
- Update device status handling from 'status' to 'isOnline' for consistency
- Remove unused imports and redundant code related to light switches
- Refactor UI components to use 'isOnline' instead of 'status' for device status
2024-04-01 09:58:51 +03:00
65cbf10485 temp 2024-03-17 09:38:26 +03:00
00d1ad50f1 built 3 gang switch View 2024-03-14 00:38:00 +03:00
f8e8591d13 Implemented room device interface
(AC only)
2024-03-07 14:53:13 +03:00
b3fcca639a Removed location from models
Added the spaces models
Added the rooms models
Added the Spaces cubit
Implemented the home dropdown functionality
2024-03-06 21:34:23 +03:00
bcaed7a4b8 Converted all the devices models to extends from DeviceModel for the purpose of unifying.
Initialized Lights feature.
2024-03-02 21:57:11 +03:00
abe7072f2d AC devices page implemented
AC Cubit Add
New Devices Cubit Arch will be used
Devices Cubit (for devices categories, and devices page)
{
AC cubit,
Lights cubit.
... }
Replaced AssetsManager with Assets Class (auto generated)
2024-02-26 15:55:22 +03:00
cdfb778884 initialized Devices Page 2024-02-20 16:01:50 +03:00
d27063f149 initialized Dashboard Page 2024-02-20 12:08:59 +03:00