Coder Social home page Coder Social logo

Comments (13)

ludeeus avatar ludeeus commented on June 8, 2024

I'll have a look.

This does not use or configure sensor.version but uses the same library.

from breaking_changes.

Mariusthvdb avatar Mariusthvdb commented on June 8, 2024

sure, aware of that.
As just confirmed: taking the integration breaking_changes out, makes the sensor: version show up each 5 minutes. As per design.

making breaking_changes is the cause the per minute update of sensor: version, both showing PyPi as source, and Local.
Hope you can fix this in the integration.
Other option would maybe be to check first if the system already uses the sensor: version, and if yes, use that, and not use a check to PyPi by itself?

from breaking_changes.

ludeeus avatar ludeeus commented on June 8, 2024

As just confirmed: taking the integration breaking_changes out, makes the sensor: version show up each 5 minutes. As per design.

No... it is not that sensor you are seeing logging for, it is from the library pyhaversion.

The reason PyPi is used, is that one is first updated when there is a release.

from breaking_changes.

Mariusthvdb avatar Mariusthvdb commented on June 8, 2024

ok sorry, worded it incorrectly.
let me just show what is looks like without breaking_changes:

Schermafbeelding 2019-07-04 om 07 06 50

sensor: version shows as it should, each 5 minutes, for both setup checks.

with breaking_changes , it shows as posted in top issue posting.

from breaking_changes.

ludeeus avatar ludeeus commented on June 8, 2024

No... That is not sensor.version....

This integration does not change how that sensor (or any sensor) operate.

from breaking_changes.

Mariusthvdb avatar Mariusthvdb commented on June 8, 2024

well, what can I say. It does. in my setup.

without integration breaking_changes the log shows:
Schermafbeelding 2019-07-04 om 08 11 56

with integration breaking_changes:

Schermafbeelding 2019-07-04 om 07 57 26

from breaking_changes.

ludeeus avatar ludeeus commented on June 8, 2024

And that is not a home assistant sensor that is creating those logs, that is a python library.

from breaking_changes.

Mariusthvdb avatar Mariusthvdb commented on June 8, 2024

and it is caused by the integration breaking changes...
have tested 2 extra scenarios:

only breaking_changes installed:

Schermafbeelding 2019-07-04 om 08 39 24

none installed:
nothing showing in the log, so we can be certain no other integration is at the root of this.

from breaking_changes.

ludeeus avatar ludeeus commented on June 8, 2024

I'm done with this discussing, you are not getting what I'm saying to you.
If you don't like how it works, don't use it.

I will look into adding a scan_interval option, but I'm not making any promises.

from breaking_changes.

stale avatar stale commented on June 8, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

from breaking_changes.

ludeeus avatar ludeeus commented on June 8, 2024

scan_interval added here https://github.com/custom-components/breaking_changes/releases/tag/0.3.0

from breaking_changes.

Mariusthvdb avatar Mariusthvdb commented on June 8, 2024

thanks for the scan_interval!

tried it as follows:

# https://github.com/custom-components/breaking_changes
breaking_changes:
  scan_interval: 3600

to have it update every hour. Unfortunately it still fires every minute:

Schermafbeelding 2019-07-23 om 10 06 35

from breaking_changes.

ludeeus avatar ludeeus commented on June 8, 2024

https://github.com/custom-components/breaking_changes/releases/tag/0.3.1

from breaking_changes.

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.