marcokreeft87 / room-card

Show multiple entity states, attributes and icons in a single card in Home Assistant's Lovelace UI
MIT License
210 stars 11 forks source link

Certain Icons/Cards not responding to conditions #270

Closed BentleySmarthome closed 10 months ago

BentleySmarthome commented 10 months ago

Which version of Room Card? 1.07.25

Describe the bug After the HA update yesterday, many things not responding to style and hide conditions that worked prior to the update. What I have noticed thus far: Lights, media players, vacuums, Zigbee/Zwave switches, and door sensor seem to work fine. Helpers (input Boolean serving as pseudo switches), Wyze switches, and Smart Things (switches, sensors, etc) appliances do not seem to respond despite being the correct states to trigger the conditions.

To Reproduce Easiest to reproduce would be to create an input boolean helper and set a condition based on being on or off. Tried several combinations in case I was messing something up, true/false, on/off, state_on, state_off etc. image

Expected behavior Prior to the update, all conditions, including hides I was using on the same switches for hiding/unhiding addition cards were working as intended. The almost is covered by swapping icons to orange when on/open/running, etc. There were also a few hide/unhide.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Otherwise been loving using this in my interface, great work!

marcokreeft87 commented 10 months ago

Can you try it with equals in stead of not equals?

BentleySmarthome commented 10 months ago

@marcokreeft87 Same thing unfortunately: image

marcokreeft87 commented 10 months ago

Do you have other input_booleans with the same configuration? Do they work?

BentleySmarthome commented 10 months ago

image Same thing - i created a test one just to eliminate everything else from the mix.

marcokreeft87 commented 10 months ago

I think you are missing something in your configuration:

Icon:

Before the conditions

BentleySmarthome commented 10 months ago

Icon is in most of the configurations, as well as required show_icon, below is from that same test case with an icon that works w/ other entities.

image

BentleySmarthome commented 10 months ago

Here are some of the others that worked prior to yesterday. So Helper, then Wyze Plug, then Samsung Fridge Contact sensor. Current Values are On, On, and Open in this image. Hope it helps: image

marcokreeft87 commented 10 months ago

Plz check the docs:

https://github.com/marcokreeft87/room-card/wiki/Configuration#icon-conditions
BentleySmarthome commented 10 months ago

No change: image

marcokreeft87 commented 10 months ago

It shouldn't matter, but if you start the condition with condition in stead of icon?

It's working on my HA instance, the same configuration but different entities ofcourse. So if that doesn't work, I'm clueless.

Wish I could remote debug your HA

BentleySmarthome commented 10 months ago

Thanks for trying. I guess ill just have rebuild my interface to exclude these.

BentleySmarthome commented 10 months ago

I figured it out :)

marcokreeft87 commented 10 months ago

I figured it out :)

Show me!