Coder Social home page Coder Social logo

Comments (4)

sanbroz avatar sanbroz commented on August 20, 2024 1

Yes, I have tested with 2 sprinklers, but you have to change hass_opensprinkler instances in all files

from hass-opensprinkler.

nerodoxus avatar nerodoxus commented on August 20, 2024 1

Hi,

Maybe each instance could have an prefix attribute? It coud be added to all entities that are created during startup.
Right now e.g. sensor.water_level is created that could interfere with existing sensor created before from other device.

from hass-opensprinkler.

wvella avatar wvella commented on August 20, 2024

This would be a great feature! I have multiple opensprinklers in my property. Until this feature is released, is there a workaround available?

from hass-opensprinkler.

vinteo avatar vinteo commented on August 20, 2024

if they are separate devices, you could make multiple copies of the component folder inside the custom_components folder ie hass_opensprinkler2, hass_opensprinkler3, etc and update this line to match it:

https://github.com/vinteo/hass-opensprinkler/blob/master/custom_components/hass_opensprinkler/__init__.py#L11

Then use hass_opensprinkler2 etc in the config. I haven't tested it so not 100% it would work but you could give it a shot.

Also I think multiple devices could be connected to together, if you have that setup not sure how that would work.

from hass-opensprinkler.

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.