I have a list constructed by a repeater function. Unfortunately, behind my badge, there is a dash (-) present at all times. The same code I have used for another list constructed with a repeater function but there are no dashes there…
it’s probably something simple but I have been busy for a while now trying to get rid of this annoying dash
Any ideas?
code:
- component: oh-list-item
config:
title: '=(items.gOnline.state == "ON") ? "Alle services online" : "Offline
services:"'
- component: oh-repeater
config:
for: item
sourceType: itemsWithTags
itemTags: Status,Power
filter: items[loop.item.name].state != "ON"
fragment: true
slots:
default:
- component: oh-label-item
config:
icon: f7:wifi_slash
iconColor: red
title: =loop.item.label
badge: OFFLINE
badgeColor: red