Commit Graph
27 Commits
Author SHA1 Message Date
Mohammad Salameh bff4b9493c Refactor device control logic and add temperature and fan speed enums
- Refactor device control logic in the app to improve readability and maintainability.
- Add temperature modes (hot, cold, wind) and fan speeds (auto, low, middle, high) enums.
- Update icon mappings and utility functions for temperature modes and fan speeds.
2024-04-03 18:54:21 +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 3031d19836 Add three gang widgets for controlling three different switches
- Added ThreeGangBody, ThreeGangSwitch, and ThreeGangSwitchesView widgets
  for controlling three different switches in the UI.
- Updated constants file with functions for ThreeGang device type.
2024-04-01 09:56:55 +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 0f3cc453ce Semi-implemented getting spaces feature 2024-03-12 11:14:31 +03:00
Mohammad Salameh d3bd10730c Modified Devices Pages 2024-03-11 12:04:26 +03:00
Mohammad Salameh f11b6d8d32 Added page swipe for navigation 2024-03-10 16:57:12 +03:00
Mohammad Salameh 39a3f97181 Merged Auth branch & Curtains branch 2024-03-10 15:06:04 +03:00
Mohammad Salameh a6018b282e Redesigned Splash Screen and Login Screen 2024-03-10 14:49:17 +03:00
Mohammad Salameh f8e8591d13 Implemented room device interface
(AC only)
2024-03-07 14:53:13 +03:00
Mohammad Salameh f734801e94 Initialized Auth pages for future work
Implemented Login functionality
2024-03-07 10:29:19 +03:00
Mohammad Salameh c5f88caec3 Partially implemented the page view functionality
-page controller on change need to be figured correctly
2024-03-06 23:11:09 +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 a9fdb2fc76 modified UI padding handling approach
added auth API endpoints
initialized curtains view for further development
2024-03-05 11:18:08 +03:00
Mohammad Salameh 7ecac02a8a light interface 2024-03-04 14:38:48 +03:00
Mohammad Salameh 79e0b7ec21 light brightness slider 2024-03-04 11:25:08 +03:00
Mohammad Salameh 3fccadfc1d light switch
code refactor
2024-03-04 09:45:34 +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 4ee5426e9c Implemented AC Interface 2024-02-29 12:11:39 +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 d5196fda45 initialized Routine Page 2024-02-21 13:47:08 +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
Mohammad Salameh 3190361901 initialized Application theme 2024-02-17 16:27:27 +03:00