hemantkamalakar/google_fit_hass

Platform error sensor.google_fit - Integration 'google_fit' not found.

souravj96 opened this issue · 2 comments

I'm using the latest version of google fit component

I have created google token by following this link
and my calendar is working fine. but when I adding the bellow code

sensor:

  - platform: google_fit
    name: sourav
    client_id: !secret google_client_id
    client_secret: !secret google_client_secret
    scan_interval: 300

I'm getting Platform error sensor.google_fit - Integration 'google_fit' not found. erron on Configuration validation
here is my folder structure.
image

did I miss anything?

Please use following sensor definition

sensor:
  - platform: google_fit_hass
    name: sourav
    client_id: !secret google_client_id
    client_secret: !secret google_client_secret
    scan_interval: 300

Ohh! it works fine now. thank you!