Commit Graph

18 Commits

Author SHA1 Message Date
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
e17c0af144 Add HomeCubit and HomeState classes
This commit adds the HomeCubit class along with its corresponding HomeState
class. It also includes necessary imports and updates references to the
previously used SpacesCubit to the new HomeCubit in various files.
handled the multible onCreate -- HomeCubit
2024-03-24 14:43:13 +03:00
c0bfd24751 Refactor device-related views and add error handling
Refactor device-related views to improve code structure and readability.
Add error handling for authentication token in the splash view.
Remove unnecessary NavCubit from the app initialization.
2024-03-21 13:58:20 +03:00
42051bb977 Fixed the overflow in the login screen, the page is scrollable.
- Fixed Scrolling wasent working in login screen
- Changed Home page to indexed based view instead of PageView
2024-03-19 13:29:12 +03:00
65cbf10485 temp 2024-03-17 09:38:26 +03:00
f11b6d8d32 Added page swipe for navigation 2024-03-10 16:57:12 +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
d9a3f9e2a0 code refactoring 2024-03-03 19:07:24 +03:00
4cfae85f9c implemented light brightness slider
optimised state emit to only emit when change is detected
2024-03-03 15:00:13 +03:00
643b206d4c cleaned some warring messages 2024-03-03 13:10:03 +03:00
136987c56a built Lights List 2024-03-03 13:05:34 +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
4c27cce519 Switches updated 2024-02-27 10:13:58 +03:00