I’d like to set up a configuration that would activate a button (custom button card) on a dashboard to light up if motion is detected on a motion sensor. The button would stay active until midnight, then it would reset to not activate. Basically want a visual indicator the mail has been delivered for the day.
Any ideas on how to setup that up so it resets at midnight?