Lovelace incremental timer with hours question

Hi all I am wondering if it’s possible to have a Lovelace incremental timer with hours and minutes that is editable and starts and stops based on when a desired entity is on or off? I would love to see your examples please