FYI: in case someone was using it. I am hiding (as private) my version of the Google Fit custom component
I think no one was using it as there were solutions built on top of mine (and others) with more sensors attributes. However, if you were using it, the Gist is still available.
This is a small protest against not having a YAML (or equivalent non-UI configuration) support mode for integrations (reference).