feat: Remove test scenario functionality and update related components for real MQTT data usage

This commit is contained in:
Siwat Sirichai 2025-06-21 15:35:24 +07:00
parent fd8cacd62b
commit 738ae59c69
5 changed files with 36 additions and 290 deletions

View file

@ -143,10 +143,9 @@ export function SensorDetailModal() {
</SelectContent>
</Select>
</div>
</div>
<p className="text-sm text-gray-600">
</div> <p className="text-sm text-gray-600">
Showing data for the last {getTimespanLabel(selectedTimespan)}
{sensor.source === 'hardware' ? ' (Real sensor data)' : ' (Mock data)'}
{sensor.source === 'hardware' ? ' (Real sensor data)' : ' (Hardware offline - no data)'}
</p>
</CardHeader>
<CardContent>