cyberjunky / home-assistant-google_fit

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

2021.12.0b0: implements device_state_attributes warning #16

Closed pailloM closed 2 years ago

pailloM commented 2 years ago

This is with home-assistant 2021.12.0.b0. I run it in docker. The integration is setting-up just fine and pulling the data as expected but I get the following warnings:

2021-12-03 23:28:49 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.google_fit_weight (<class 'custom_components.google_fit.sensor.GoogleFitWeightSensor'>) implements device_state_attributes. Please report it to the custom component author.

2021-12-03 23:28:49 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.google_fit_heart_rate (<class 'custom_components.google_fit.sensor.GoogleFitHeartRateSensor'>) implements device_state_attributes. Please report it to the custom component author.

2021-12-03 23:28:49 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.google_fit_height (<class 'custom_components.google_fit.sensor.GoogleFitHeightSensor'>) implements device_state_attributes. Please report it to the custom component author.

2021-12-03 23:28:49 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.google_fit_steps (<class 'custom_components.google_fit.sensor.GoogleFitStepsSensor'>) implements device_state_attributes. Please report it to the custom component author.

2021-12-03 23:28:49 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.google_fit_sleep (<class 'custom_components.google_fit.sensor.GoogleFitSleepSensor'>) implements device_state_attributes. Please report it to the custom component author.

2021-12-03 23:28:49 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.google_fit_move_time (<class 'custom_components.google_fit.sensor.GoogleFitMoveTimeSensor'>) implements device_state_attributes. Please report it to the custom component author.

2021-12-03 23:28:49 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.google_fit_calories (<class 'custom_components.google_fit.sensor.GoogleFitCaloriesSensor'>) implements device_state_attributes. Please report it to the custom component author.

2021-12-03 23:28:49 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.google_fit_distance (<class 'custom_components.google_fit.sensor.GoogleFitDistanceSensor'>) implements device_state_attributes. Please report it to the custom component author.
johnreind commented 2 years ago

I have the same issue with HA core 2021.12.2. This is the log:

 Logger: homeassistant.helpers.entity
Source: helpers/entity.py:549
First occurred: 12:38:21 (43 occurrences)
Last logged: 12:38:24

    Entity sensor.google_fit_meditation (<class 'custom_components.google_fit.sensor.GoogleFitMeditationSensor'>) implements device_state_attributes. Please report it to the custom component author.
    Entity sensor.google_fit_move_time (<class 'custom_components.google_fit.sensor.GoogleFitMoveTimeSensor'>) implements device_state_attributes. Please report it to the custom component author.
    Entity sensor.google_fit_calories (<class 'custom_components.google_fit.sensor.GoogleFitCaloriesSensor'>) implements device_state_attributes. Please report it to the custom component author.
    Entity sensor.google_fit_distance_km (<class 'custom_components.google_fit.sensor.GoogleFitDistanceKmSensor'>) implements device_state_attributes. Please report it to the custom component author.
    Entity sensor.google_fit_distance_mi (<class 'custom_components.google_fit.sensor.GoogleFitDistanceMiSensor'>) implements device_state_attributes. Please report it to the custom component author.
cyberjunky commented 2 years ago

Thanks man!