Thanks, I was just copying and pasting code with no idea of course.
I thought $hostname would show the mDns value
I now see what I need,
Thanks,
Papa Lanc
substitutions:
# Modify variables based on your settings
hostname: 'My ESP Camera'
I always need to search for the doco for this stuff - It’s not under the “Table of Contents”, it’s under “Next steps, Configuration types” on the ESPHome main page.