@elgander Das müsste dir helfen:
[{"tpl":"tplHtml","data":{"g_fixed":true,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"refreshInterval":"0","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"html":"Schiebedach: {v:bmw.0.WBAxxxxxxx.dynamic.sunroof_state; v == \"CLOSED\" ? \"geschlossen\" :: \"offen\"}","class":"","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"name":"Schiebedach geschlossen","visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide"},"style":{"left":"161px","top":"872px","color":"{v:bmw.0.WBAxxxxxxx.dynamic.sunroof_state; v == \"CLOSED\" ? \"blue\" :: \"red\"}","height":"","width":"","text-align":"left","line-height":"","z-index":"10","text-shadow":"","font-family":"Jura-Regular","font-style":"normal","font-variant":"normal","font-weight":"normal","font-size":"medium"},"widgetSet":"basic"}]
Hinweis: Ich arbeite mit Sichtbarkeiten, weil ich möchte, dass das Widget blinkt, wenn die Türe offen ist. Das kannst du löschen. Edit: Ich hab das exportierte Widget nochmal angepasst.