cyberjunky / home-assistant-google_fit

:hearts: This component tracks your Google Fit activities.
MIT License
99 stars 20 forks source link

Instructions not working - Sensor key not provided #27

Closed JorenC closed 2 years ago

JorenC commented 2 years ago

Note - I'm quite new at HA development. I think it's a super easy When I set up the Google Fit component using the steps in the configuration (sensor.yaml). I didn't copy my secrets to a separate file to first test. I copied the extact snippet provided in the documentation: image

However, when I check my configuration.yaml it says there is a required key missing: image

Probably it's a typo, but with no other way to contact you - what key am I missing?

AFMHARoma commented 2 years ago
sensor:
  - platform: google_fit
    name: Google Fit
    client_id: 
    client_secret: 
JorenC commented 2 years ago

Indeed (I saw the typo, but I copied + pasted already quite a bit) Am I missing something?

image image

JorenC commented 2 years ago

So apparently it had something to do with my sensor: !include sensor.yaml that was not recognized. Putting it in the configuration.yaml file worked.

Thank you for the help, sorry for the inconv.