readingsGroup - Icon für Namen in erster Zeile

Begonnen von Fabiango, 17 Dezember 2025, 18:17:39

Vorheriges Thema - Nächstes Thema

ergerd

Zitat{SONOS_getListRG($DEVICE,"Favourites",1)}
Versuche es mit
{SONOS_getListRG("Sonos_Wohnzimmer","Favourites",1)}
FHEM auf RasPi 4, ZigBee, 1Wire2WLAN, DS2423, EMS-ESP, Button+, LaCrosseGateway, PCA301, ConBee III, LuftdatenInfo, OneWireGW, Div. ESPs u. Shellys

Fabiango

Hallo ergerd,

mit den ergänzten Anführungszeichen klappt es auch mit der Ausgabe.
Danke für deine Hilfe dafür.

Hier der Auszug:

<ul style="margin-left: 0px; padding-left: 0px; list-style-type: none; display: inline;"><li style="list-style-type: none; display: inline;"><div style="display: inline-block; border: solid 1px lightgray; margin: 3px; width: 70px; height: 70px; background-image: url(https://cdn-profiles.tunein.com/s96141/images/logog.png?t=1); background-repeat: no-repeat; background-size: contain; background-position: center center;" onclick="FW_cmd('/fhem?XHR=1&cmd.Sonos_Wohnzimmer%3Dset%20Sonos_Wohnzimmer%20StartFavourite%20baden.fm')"/></li><li style="list-style-type: none; display: inline;"><div style="display: inline-block; border: solid 1px lightgray; margin: 3px; width: 70px; height: 70px; background-image: url(https://cdn-profiles.tunein.com/s24896/images/logog.png?t=1); background-repeat: no-repeat; background-size: contain; background-position: center center;" onclick="FW_cmd('/fhem?XHR=1&cmd.Sonos_Wohnzimmer%3Dset%20Sonos_Wohnzimmer%20StartFavourite%20SWR3')"/></li><li style="list-style-type: none; display: inline;"><div style="display: inline-block; border: solid 1px lightgray; margin: 3px; width: 70px; height: 70px; background-image: url(https://cdn-profiles.tunein.com/s15445/images/logog.jpg?t=162318); background-repeat: no-repeat; background-size: contain; background-position: center center;" onclick="FW_cmd('/fhem?XHR=1&cmd.Sonos_Wohnzimmer%3Dset%20Sonos_Wohnzimmer%20StartFavourite%20Energy%2520Basel')"/></li><li style="list-style-type: none; display: inline;"><div style="display: inline-block; border: solid 1px lightgray; margin: 3px; width: 70px; height: 70px; background-image: url(https://cdn-profiles.tunein.com/s134003/images/logog.png?t=2); background-repeat: no-repeat; background-size: contain; background-position: center center;" onclick="FW_cmd('/fhem?XHR=1&cmd.Sonos_Wohnzimmer%3Dset%20Sonos_Wohnzimmer%20StartFavourite%2095.5%2520Charivari%2520Party-Hitmix')"/></li></ul>
Lässt sich damit nun beantworten wie ich den Namen durch ein Icon ersetzt bekomme wie bei anderen Devices auch?