Add Sensor Hub functionality with components for managing sensors, including a service for API calls, a modal for selection, and a form for adding new sensors. Updated layout to integrate SensorHub component.

This commit is contained in:
2026-02-19 14:43:35 +03:30
parent a898eccbff
commit 48bf0921c7
10 changed files with 699 additions and 1 deletions
+4 -1
View File
@@ -11,6 +11,7 @@ import HorizontalLayout from '@layouts/HorizontalLayout'
// Component Imports
import Providers from '@components/Providers'
import SensorHub from '@components/SensorHub'
import Navigation from '@components/layout/vertical/Navigation'
import Header from '@components/layout/horizontal/Header'
import Navbar from '@components/layout/vertical/Navbar'
@@ -31,7 +32,8 @@ const Layout = async (props: ChildrenType) => {
return (
<Providers direction={direction}>
<AuthGuard>
<LayoutWrapper
<SensorHub>
<LayoutWrapper
systemMode={systemMode}
verticalLayout={
<VerticalLayout
@@ -55,6 +57,7 @@ const Layout = async (props: ChildrenType) => {
<i className='tabler-arrow-up' />
</Button>
</ScrollToTop>
</SensorHub>
</AuthGuard>
</Providers>
)