spaceapid: add 3d printer state sensors (bool)

The schema only allows numeric values so I'm leaving the time to finish
field out of this for now.
This commit is contained in:
dequis 2024-08-17 00:15:27 +02:00
parent 5bbc8aa03e
commit 9b751fa1ed
Signed by: dx
SSH key fingerprint: SHA256:SuK+7WypFMxyPAfGeozi22wIXdb/OMtSoGAjEOcrQDo

View file

@ -24,6 +24,30 @@
"club-assistant" "club-assistant"
] ]
} }
],
"3d_printer_state": [
{
"sensor_data": {
"unit": "bool",
"location": "Loetschlauch",
"name": "mk4",
"description": "Prusa mk4 state"
},
"allowed_credentials": [
"club-assistant"
]
},
{
"sensor_data": {
"unit": "bool",
"location": "Loetschlauch",
"name": "mk3.5",
"description": "Prusa mk3.5 state"
},
"allowed_credentials": [
"club-assistant"
]
}
] ]
}, },
"state": { "state": {