on the HMG there is a config generator which produces these:
Zigbee2MQTT:
# Serial settings
serial:
# Location of HMG-01
port: tcp://h.m.g.ip:6638
baudrate: 115200
# Disable Zigbee (Y or W) led?
disable_led: false
# Set output power to max 20
advanced:
transmit_power: 20
and ZHA
socket://h.m.g.ip:6638
but i cannot figure out how to put these into my config file.