Skip to content

Commit 8e0e8cf

Browse files
committed
Add outside sensor, switch to four column layout
1 parent f6e1b7f commit 8e0e8cf

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ export const sensors = {
1414
'sensors/kitchen': {
1515
label: 'Kitchen',
1616
},
17+
'sensors/outside': {
18+
label: 'Outside',
19+
},
1720
};
1821

1922
export const grafana = {

src/widgets/SensorReadingsWrapper/SensorReadingsWrapper.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const SensorReadingsWrapper = () => {
4343
<ErrorMessage error={error} />
4444
</Col>
4545
</Row>}
46-
{mqttStatus && <Row className="row-cols-1 row-cols-lg-3 g-3">
46+
{mqttStatus && <Row className="row-cols-1 row-cols-md-2 row-cols-xxl-4 g-3">
4747
{sensorReadings.map(sensorReading =>
4848
<SensorReading key={sensorReading.label} {...sensorReading} />
4949
)}

0 commit comments

Comments
 (0)