Mohammad Salameh
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
Mohammad Salameh
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
Mohammad Salameh
5dc4f96a71
Add functionality to fetch devices by room ID
...
Added a new method in DevicesCubit to fetch devices by room ID and updated
related classes and API calls to support this functionality.
2024-04-02 12:12:54 +03:00
Mohammad Salameh
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
Mohammad Salameh
13e80fbad7
fetch groups
2024-03-18 11:46:27 +03:00
Mohammad Salameh
65cbf10485
temp
2024-03-17 09:38:26 +03:00
Mohammad Salameh
00d1ad50f1
built 3 gang switch View
2024-03-14 00:38:00 +03:00
Mohammad Salameh
024f15728b
getting spaces and rooms from api {null checks}
2024-03-13 13:52:22 +03:00
Mohammad Salameh
f8e8591d13
Implemented room device interface
...
(AC only)
2024-03-07 14:53:13 +03:00
Mohammad Salameh
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
Mohammad Salameh
5a9c96b0a8
Built Curtains List view
...
Modified Category Model(default value of devices status is now null)
Added a category getter in each devices cubit ( AcCubit, LightsCubit ...)
2024-03-05 12:36:57 +03:00
Mohammad Salameh
282739acf7
Added ac bounds in model
...
implemented bounds in AC Temp controls
2024-03-04 15:55:02 +03:00
Mohammad Salameh
7ecac02a8a
light interface
2024-03-04 14:38:48 +03:00
Mohammad Salameh
24ccb243d4
fixed Universal AC temperature control
2024-03-03 16:17:00 +03:00
Mohammad Salameh
4cfae85f9c
implemented light brightness slider
...
optimised state emit to only emit when change is detected
2024-03-03 15:00:13 +03:00
Mohammad Salameh
643b206d4c
cleaned some warring messages
2024-03-03 13:10:03 +03:00
Mohammad Salameh
7e98329738
added Null state from the AC universal switch (in case the status for the ACs are different from each other)
2024-03-03 11:37:30 +03:00
Mohammad Salameh
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
Mohammad Salameh
4ee5426e9c
Implemented AC Interface
2024-02-29 12:11:39 +03:00
Mohammad Salameh
3fabd41e72
Stabilized UI elements across multiple devices
...
Synchronized ACs Status functionality
2024-02-28 12:22:45 +03:00
Mohammad Salameh
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
Mohammad Salameh
cdfb778884
initialized Devices Page
2024-02-20 16:01:50 +03:00
Mohammad Salameh
d27063f149
initialized Dashboard Page
2024-02-20 12:08:59 +03:00