-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What about "when" option? #35
Comments
Hello! Yes, I am also interested on that too. Any workaround for that? Thanks! |
There are better ways to get that functionality. |
Thanks @thomasloven! I can see the conditional as a great solution. Sorry to bother you but would mind taking a look at this card? I cannot figure out how make it to work: - entities:
- binary_sensor.estado_do_bridge
- input_boolean.zigbee_permit_join
- type: conditional
conditions:
- entity: input_boolean.zigbee_permit_join
state: 'on'
card:
type: entities
entities:
- timer.zigbee_permit_join
show_header_toggle: false
title: ZigBee
type: entities I get this: Testing just the conditional part on a separated new manual card it works but not like this. I had something similar working before, using the when function. Thanks a lot! |
You cant use conditional card inside entities. For me, this is also not a solution. Conditional card requires that you use it inside a vertical stack card, and there are unnecessary margins that are hard to remove using even card-mod. @thomasloven Please consider reopen |
Yes, you can, with But I admit the configuration will become pretty involved to get it right. I'll reconsider. |
I had no idea this was possible as i was still using monster-card for this use purpose also. However after reading this, it is working great and i can sunset monster-card. My working example:
|
Well, for the time being, here's a small patch. All credits go to rhodges (here his post on Home Assistant communit forum). I'm using it right now and it's working fine, but proper testing is needed:
Example usage:
In this example, light.back_door_lights will only be visible when input_boolean.alarm_mode is “on”. |
PR created (#164). |
Thanks. Unfortunately it sits and waits like forever. I also need the option to filter entities based on other entities states. Doing that with the stock conditional card is a pain in the app (😄) and I always wondered why custom:auto-entities can not do this. E. g.:
Task: Now please also show all update entities belonging to those devices (e. g. Simply using this is not working because simply all entities are always shown (no state option available matching the other entities):
The big improvement would be to show entities based on conditions of other entities (e. g. their states). |
In the previous version of the card it was possible to show the entity when it meets the requirements of another status. Is it possible to add such functionality?
example:
The text was updated successfully, but these errors were encountered: