How to use friendly_name for an hardware switch in automations.yaml

Please format your post properly.