first post here so please go easy on me. Im a long term openhanded user but after hearing everyone raving about how good ha is I’m in the process of moving everything across to home assistant to see how it compares.
Im playing around with the web gui atm and creating a dashboard. What I’ve done is create a group of the 3 main ceiling lights in the lounge and what im hoping to achieve is if one of the lights is on in the group the icon will be orange but it’s not working atm.
This is my code. that I’ve put into the colour box while creating the card.
(% if is_state('light.main_lounge', 'on) %)
orange
{% endif %)
Im using the mushroom cards, precisely the mushroom template card. I’m loosely following a YouTube video where it works I can’t get it to work. My updated code
{% if is_state('light.main_lounge,'on') %)
orange
{% endif %)