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 committed by echtnurich
parent c3cf1fec38
commit 919652f09c
Signed by: echtnurich
SSH key fingerprint: SHA256:1eIkxME0VPeXC2WMl9Haus+q0SLFymSAWU7f6Z+A8Aw

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": {