OH3 MainUI: Some badges are reversed (lock/heat)

So you are looking at your locations tab where it’s inverted, right?

Then go to edit to the right upper corner of the screen and go to the Code tab.
Scroll down to the locations section:

locations:
  - component: oh-locations-tab

and look for the location you are looking at with the lock.
For me it’s entry

      entry:
        - component: oh-location-card
          config:
            backgroundImage: static/backgrounds/eingang.jpg
            badges:
              lock:
                expression: state === 'OFF'

Thanks for the response!
I’m not sure how to revise it given the other badge items in that section.?
Currently mine looks like this.
image.png

How do I add the expression ?

I am not quite sure if the dashs “-” are correct in your code, but it should look like:

            badges:
              lights
              doors
              lock:
                expression: state === 'OFF'
              speakers
              

I suppose…

Thanks
Those dashes have been there since my original 3.0 install. I’ll play around with removing them.

Finally found the solution.
Apparently when you edit the YAML you need remove those lines with the dash

1 Like

There is an equipment-type called RadiatorControl and I think it would be really slick if it had it’s own badge icon, separate from the snowflake HVAC.

How about f7:gauge:

image

or from the material icons,

fireplace might work
image

and hottub sort of looks like a radiator
image

Please do not hijack other topics.
Your change request is not related to the original topic.
Better open a new one.

@hmerk I mean, alright, but this exact issue (icon choice for radiators) was being discussed in this topic…

Sorry for not reading all posts in this topic, but that discussion was at the wrong place too.