Coder Social home page Coder Social logo

Comments (9)

ildar170975 avatar ildar170975 commented on July 20, 2024 1

Thanks for explanation.
Will open an issue for this integration.

from core.

bdraco avatar bdraco commented on July 20, 2024 1

Yes

from core.

bdraco avatar bdraco commented on July 20, 2024

see #116221

from core.

ildar170975 avatar ildar170975 commented on July 20, 2024

Your comment:

If platforms get loaded multiple times the calculation will be wrong.

If HA allows for platforms "get loaded multiple times" - then may be HA should consider these possible cases?
I.e. this is not just a "problem in custom component", this is "HA does not consider this case".

from core.

bdraco avatar bdraco commented on July 20, 2024

It's not possible to detect every incorrect way that an integration may write their code.

from core.

ildar170975 avatar ildar170975 commented on July 20, 2024

t's not possible to detect every incorrect way that an integration may write their code.

Agree.
But my point is:
-- since some platform may be "get loaded multiple times" - then this could happen since HA allows to do it "multiple times";
-- then either HA should disable this possibility (i.e. a platform may be loaded one time only);
-- or HA should consider these "get loaded multiple times" cases as a possible scenario when calculating a "startup time".

See, I know nothing about HA internals, my proposals are only based on you explanation.

from core.

bdraco avatar bdraco commented on July 20, 2024

from core.

ildar170975 avatar ildar170975 commented on July 20, 2024

@bdraco
Shall I close THIS issue?

For the record - issue for Gismeteo integration - Limych/ha-gismeteo#191

from core.

ildar170975 avatar ildar170975 commented on July 20, 2024

Again for the record - the author of Gismeteo integration declines that this "negative startup time" could be a "integration issue".
Limych/ha-gismeteo#191 (comment)

yes, the time in your picture is strange, but this does not in any way affect the correctness of work of the integration. This means this is NOT an integration issue.

from core.

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.