hemantkamalakar/google_fit_hass

"Platform error sensor.google_fit_haas - Integration 'google_fit_haas' not found."

Closed this issue · 1 comments

Home Assistant Core
Version: core-2021.9.6

Operating System
Version: 6.4

HACS
Version: 1.1.14

My configuration.yaml is split with this line
sensor split: !include_dir_merge_list sensors

sensor.yaml saved here: "/config/sensors/sensors.yaml" (other sensors saved here work fine)

I've tried both manually coping the "google_fit_haas" folder to /custom_components and also installing from Hacs but both fail with the same error.

Having the platform name as google_fit_haas or google_fit both just generate either of these errors:

"Platform error sensor.google_fit_haas - Integration 'google_fit_haas' not found."

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

Neither of these entries worked from sensors.yaml relating to the google fit platform:

  • platform: google_fit_haas
    name: Google Fit
    client_id: !secret client_id
    client_secret: !secret client_secret
    scan_interval: 300

  • platform: google_fit
    name: Google Fit
    client_id: !secret client_id
    client_secret: !secret client_secret
    scan_interval: 300

Any ideas what I am doing wrong?

I can't explain why but after deleting the line "platform: google_fit_haas" then entering it again but manually typing it, the issue magically resolved itself even those the same line is identical.