Convert command_line to sensor time date

Please format your posts correctly.

Your template simply returns the current date/time, ignoring the command, and is identical to:

{{ now().strftime('%d %B %Y') }}

If you thought you’d be helpful by using ChatGPT to attempt to answer a question (as your answer looks like the sort of thing it would produce), please see here: