Hi all,
Is it possible or would it be possible to expand the conditional card to include a delay feature within it’s configuration such as;
view_delay: 300
As a bit of background, in my scenario I have some conditional cards that appear on the main lovelace page when a motion sensor is tripped - it shows the motion sensor (when state changes to ‘motion’ along with when the time the sensor was tripped (another sensor) - these sensors are coming from an aeotec 6in1 multisensor so whilst awesome, they are extremely efficient in resetting their state so ideally I’d like it so when the conditional card shows up that even if the value resets and the condition is no longer met that the card stays present in the GUI for say, 5 minutes.
I’ve found this article which tells you how to set a conditional card to only appear if the time is in the evening - which is useful but not identical to my requirement. Worst case I can probably create a time sensor which gets reset via automation when a motion sensor flags “motion”, the value of the sensor could be a timestamp from “now”…after which the conditional card could have 2 conditions, one for the motion state and another to check that the state_not is false when the time between “now” and the timestamp in the sensor is less than 5 minutes.
TL;DR
I’d like a conditional card to stay on the screen for a period longer than what the state change dictates, rather than it flash up and be gone before I notice it.
Any advice would be appreciated
Thanks
Lawrence