hemantkamalakar / google_fit_hass

A Home assistant custom component to get your fitness information using Google Fitness API.
25 stars 6 forks source link

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

Closed lazy-slob closed 3 years ago

lazy-slob commented 3 years ago

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:

Any ideas what I am doing wrong?

lazy-slob commented 3 years ago

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.