Skip to content

Commit

Permalink
Add demo mode requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Gilles committed Nov 24, 2023
1 parent 8bbf7d8 commit b958aea
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions front/src/config/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -3485,6 +3485,50 @@ const data = {
.subtract(3, 'hour')
.toDate()
}
],
'get /api/v1/service/sonos/device': [
{
id: 'c0e21639-4fe9-4d1c-ad65-33255d21bf0d',
name: 'Sonos Speaker',
external_id: 'sonos:uuid',
features: [
{
name: 'Sonos Play',
category: 'music',
type: 'play',
min: 1,
max: 1
}
]
}
],
'get /api/v1/service/sonos/discover': [
{
name: 'Sonos Speaker',
external_id: 'sonos:uuid',
features: [
{
name: 'Sonos Play',
category: 'music',
type: 'play',
min: 1,
max: 1
}
]
},
{
name: 'Sonos Speaker',
external_id: 'sonos:another_uuid',
features: [
{
name: 'Sonos Play',
category: 'music',
type: 'play',
min: 1,
max: 1
}
]
}
]
};

Expand Down

0 comments on commit b958aea

Please sign in to comment.