mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-27 08:02:14 +01:00
Updated NSPanel ‐ cardMedia ‐ Der Bose Soundtouch Player (markdown)
@@ -1,18 +1,19 @@
|
||||
|
||||
```TypeScript
|
||||
let BoseSoundtouch: PageType =
|
||||
{
|
||||
'type': 'cardMedia',
|
||||
'heading': 'Bose Soundtouch',
|
||||
'items': [{
|
||||
id: AliasPath + 'Media.PlayerBoseSoundtouch',
|
||||
adapterPlayerInstance: "bosesoundtouch.0.",
|
||||
speakerList: ['Wohnzimmer'],
|
||||
colorMediaIcon: White,
|
||||
colorMediaArtist: Yellow,
|
||||
colorMediaTitle: Yellow,
|
||||
alwaysOnDisplay: true,
|
||||
autoCreateALias: true
|
||||
}]
|
||||
};
|
||||
```
|
||||
Das PageItem enthält keinen equalizerString --> Die Favoriten werden automatisch aus dem Datenpunkt: `sonos.0.root.<DEVICE_IP>.favorites_list_array` extrahiert:
|
||||
> [!CAUTION]
|
||||
>```TypeScript
|
||||
>let BoseSoundtouch: PageType =
|
||||
>{
|
||||
> 'type': 'cardMedia',
|
||||
> 'heading': 'Bose Soundtouch',
|
||||
> 'items': [{
|
||||
> id: AliasPath + 'Media.PlayerBoseSoundtouch',
|
||||
> adapterPlayerInstance: "bosesoundtouch.0.",
|
||||
> speakerList: ['Wohnzimmer'],
|
||||
> colorMediaIcon: White,
|
||||
> colorMediaArtist: Yellow,
|
||||
> colorMediaTitle: Yellow,
|
||||
> alwaysOnDisplay: true,
|
||||
> autoCreateALias: true
|
||||
> }]
|
||||
>};
|
||||
>```
|
||||
Reference in New Issue
Block a user