mirror of
https://github.com/ferdzo/iotDashboard.git
synced 2026-04-05 17:16:26 +00:00
Updates and fixes.
This commit is contained in:
@@ -69,7 +69,7 @@ export default function ComfortIndexWidget({ config }: ComfortIndexWidgetProps)
|
||||
const response = await devicesApi.getComfortIndex(deviceId)
|
||||
return response.data
|
||||
},
|
||||
refetchInterval: 60000, // Refresh every minute
|
||||
refetchInterval: 5000, // Refresh every 5 seconds
|
||||
enabled: !!deviceId,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user