MQTT configuration in yaml

Screenshots of code are generally frowned on, and often difficult to read. See How to help us help you - or How to ask a good question

If you copy it as text and post it in quote tags, then someone else can easily test possible solutions.