Git Product home page Git Product logo

Comments (7)

angas avatar angas commented on September 23, 2024 1

Thanks, problem solved!
I had an ignored integration that wasn't visible until I checked "Show ignored integrations". Having that one removed fixed the problem and now index 0 is working. Maybe a log warning about multiple entries would be of help in the future if anyone more than me mess up things?

from ha-ferroamp.

argoyle avatar argoyle commented on September 23, 2024

Hmmm, that sounds strange. Have you added the MQTT integration to your Home Assistant setup?

from ha-ferroamp.

angas avatar angas commented on September 23, 2024

Yes, I have added the MQTT integration.

My setup is working fine if I change this line to use index 1 instead of 0.

In my .storage/core.config_entries file there is an (orphan) entry, corresponding to my index 0, with an empty data section that I think is the problem here. Unfortunately I can't tell how it got there.

Please let me know how you would like to proceed:

  • I remove my first orphan entry and then forget about this.
  • I create a pull request that handles my strange config situation.
  • Any other solution you like...

from ha-ferroamp.

argoyle avatar argoyle commented on September 23, 2024

Really strange. Do you have two config entries for MQTT in the UI (integrations-page) as well? If so, what happens if you remove the one which is not configured correctly? We can't default to 1 since most people won't have more than one config-entry I would say.

from ha-ferroamp.

argoyle avatar argoyle commented on September 23, 2024

That code is a straight copy-paste from one of the built-in integrations from HA and was added by one of the MQTT integration maintainers so I would expect that to be correct.

from ha-ferroamp.

argoyle avatar argoyle commented on September 23, 2024

Nice!

from ha-ferroamp.

argoyle avatar argoyle commented on September 23, 2024

Could you create a PR with a relevant message-change?

from ha-ferroamp.

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.