Commit Graph

27 Commits

Author SHA1 Message Date
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
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
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
13e80fbad7 fetch groups 2024-03-18 11:46:27 +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
0f3cc453ce Semi-implemented getting spaces feature 2024-03-12 11:14:31 +03:00
d3bd10730c Modified Devices Pages 2024-03-11 12:04:26 +03:00
f11b6d8d32 Added page swipe for navigation 2024-03-10 16:57:12 +03:00
39a3f97181 Merged Auth branch & Curtains branch 2024-03-10 15:06:04 +03:00
a6018b282e Redesigned Splash Screen and Login Screen 2024-03-10 14:49:17 +03:00
f8e8591d13 Implemented room device interface
(AC only)
2024-03-07 14:53:13 +03:00
f734801e94 Initialized Auth pages for future work
Implemented Login functionality
2024-03-07 10:29:19 +03:00
c5f88caec3 Partially implemented the page view functionality
-page controller on change need to be figured correctly
2024-03-06 23:11:09 +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
a9fdb2fc76 modified UI padding handling approach
added auth API endpoints
initialized curtains view for further development
2024-03-05 11:18:08 +03:00
7ecac02a8a light interface 2024-03-04 14:38:48 +03:00
79e0b7ec21 light brightness slider 2024-03-04 11:25:08 +03:00
3fccadfc1d light switch
code refactor
2024-03-04 09:45:34 +03:00
643b206d4c cleaned some warring messages 2024-03-03 13:10:03 +03:00
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
4ee5426e9c Implemented AC Interface 2024-02-29 12:11:39 +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
d5196fda45 initialized Routine Page 2024-02-21 13:47:08 +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
3190361901 initialized Application theme 2024-02-17 16:27:27 +03:00