Has anyone gotten switchbot to work with home assistant to work in the latest Home Assistant version?

I am running the latest version of HA on Raspberry Pi4 and added the lines as per the Manual Configuration guide in configuration.yaml and tried to validate my configuration. However, it seems to be stuck and I was not able to validate the config file:

Anyone has trouble(or similar issues) in getting their switchbot switches to work with HA?