Code Monkey home page Code Monkey logo

Comments (6)

craibo avatar craibo commented on August 24, 2024

Thanks @codyc1515

I am aware of this but there is no quick fix.
I have already removed the device_class and state_class from the PACE sensor but HA still throws the warning as I set the unit_of_measure on the sensor.
To resolve this I need to get a device_class for PACE with the supported units of measure added to HA core.
I can sepcify the time value as an integer but then the formatting is not correct on the frontend.

from ha_strava.

codyc1515 avatar codyc1515 commented on August 24, 2024

Not only is PACE sensor impacted but also the _0_0 descriptor sensor. On checking, it seems like the attribute is static.

from ha_strava.

craibo avatar craibo commented on August 24, 2024

Hi @codyc1515

That is the inital setting of it as most of the sensors (besides 2) have this setting.
In the method def capability_attributes(self) the state_class is removed from both the PACE and Index 0 sensors.
The device_class for the index 0 sensor is set to datetime correctly in this method too.

Can you please check under

  1. Deveveloper Tools --> Statistics
  2. Search for strava
  3. Check if any have a button FIX ISSUES and resolve them using this.

The _0_0 sensor shoudl not be logging any issues.

from ha_strava.

craibo avatar craibo commented on August 24, 2024

Hi @codyc1515
Please can you also confirm that you are running the latest version (3.2.16) of ha_strava from this repository https://github.com/craibo/ha_strava
Thanks

from ha_strava.

codyc1515 avatar codyc1515 commented on August 24, 2024

Nope, none of them have Fix Issues button available and am on the latest version.

from ha_strava.

craibo avatar craibo commented on August 24, 2024

This should be resolved with version 3.2.17

from ha_strava.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.