diff --git a/front/src/config/demo.json b/front/src/config/demo.json index 67cf98b697..9fd41aefd3 100644 --- a/front/src/config/demo.json +++ b/front/src/config/demo.json @@ -683,6 +683,60 @@ } ], "get /api/v1/service/mqtt": {}, + "get /api/v1/service/sonoff": {}, + "get /api/v1/service/sonoff/device": [ + { + "name": "Switch", + "external_id": "sonoff-basic", + "room_id": "cecc52c7-3e67-4b75-9b13-9a8867b0443d", + "features": [ + { + "category": "switch", + "type": "binary" + } + ], + "params": [ + { + "name": "model", + "value": "basic" + } + ] + } + ], + "get /api/v1/service/sonoff/discover": [ + { + "name": "Sonoff Basic Kitchen", + "external_id": "sonoff-basic", + "features": [ + { + "category": "switch", + "type": "binary" + } + ], + "params": [ + { + "name": "model", + "value": "basic" + } + ] + }, + { + "name": "Sonoff Pow Kitchen", + "external_id": "sonoff-pow", + "features": [ + { + "category": "switch", + "type": "binary" + } + ], + "params": [ + { + "name": "model", + "value": "pow" + } + ] + } + ], "get /api/v1/service/rtsp-camera/device": [ { "id": "c2204fdc-c22f-4fc9-b7d7-c862f3c514c7",