Pass config as dict, WIP for weather widget