Hello everyone,
I would like a bit of your help regarding Conditional Cards.
I have two things I want to create.
Firstly, I have my water heater set up with an automation to turn off after 25 minutes when I turn it On. So, I want to create a Conditional Card where, when it detects the water heater is on, it displays a card with a 25-minute countdown. I’ve managed to create a helper and include it in the card, but I haven’t found an option to automatically trigger it when the water heater turns on.
The other issue I have is that I want to create a Conditional Card containing all my media players. Ideally, I would like it to display only the active one(s) each time. Is this possible?
Below is my first attempt but it doesn’t work.
When you create a Conditional Card, you see a big blue field which says that all conditions must be met. So if one mediaplayer is off, the card will not be displayed. Use a Filter Card instead, example:
Thank you for your reply, I really appreciate it.
I attempted your suggestion, and while it worked, I encountered two issues.
1st, despite using the same card layout, the display appears different, lacking the image of the media and the controls.
and the second one is when plex and Spotify are inactive, the cards are keep being visible.
Regarding the timer for the life of me I cannot get it to work… I definitely do something wrong.
Following jchhnot John advise nothing changed.
as for pedolsky I could not add your code into the automation.
I can’t explain why the Media Control Card looks different for Spotify, I only heard rumours that the API makes problems sometimes.
Have you tried to put back the cards in Layout Card?
As for the timer
I want to create a card that is displaying the timer only when the water heater is on.
And I want for the timer to start when the state of the heater is turned to on.
I’ve tried something like this