NCO
(E. Gerland)
March 16, 2022, 3:25pm
21
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'
brianlay
(Brian G Lay)
March 16, 2022, 4:58pm
22
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.
How do I add the expression ?
NCO
(E. Gerland)
March 16, 2022, 6:32pm
23
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…
brianlay
(Brian G Lay)
March 16, 2022, 7:43pm
24
Thanks
Those dashes have been there since my original 3.0 install. I’ll play around with removing them.
brianlay
(Brian G Lay)
March 16, 2022, 8:09pm
25
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
:
or from the material icons,
fireplace
might work
and hottub
sort of looks like a radiator
hmerk
(Hans-Jörg Merk)
December 19, 2022, 3:27pm
27
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…
hmerk
(Hans-Jörg Merk)
December 19, 2022, 5:13pm
29
Sorry for not reading all posts in this topic, but that discussion was at the wrong place too.