Add HTTP API contract fixtures
This commit is contained in:
+31
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"device_name": "Cargo Controller",
|
||||
"relays": [
|
||||
{
|
||||
"id": "relay_1",
|
||||
"name": "Aux Power",
|
||||
"pin": 16,
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"id": "relay_2",
|
||||
"name": "Fridge",
|
||||
"pin": 17,
|
||||
"enabled": true
|
||||
}
|
||||
],
|
||||
"bms": {
|
||||
"enabled": true,
|
||||
"name": "House Battery",
|
||||
"address": "aa:bb:cc:dd:ee:ff",
|
||||
"address_type": "public"
|
||||
},
|
||||
"temperature_sensors": [
|
||||
{
|
||||
"id": "temp_1",
|
||||
"name": "Cabin",
|
||||
"address": "28ff001122334455",
|
||||
"enabled": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user