Coder Social home page Coder Social logo

Comments (5)

awarecan avatar awarecan commented on June 26, 2024

How about scene?

from architecture.

jantman avatar jantman commented on June 26, 2024

I'm not clear on how scene would really help here...

  1. My proposal is for something new built in to the hass core, not necessarily for end-user use. Right now there's ZoneMinder, as well as a lot of TV and media integrations (i.e. video and audio inputs, playlists, etc.) that have a logical action of "select one and only one item from a list" and "this list currently has one and only one active item" but there's no way to handle this natively in the component, because there's no Entity that works that way.
  2. In terms of ZoneMinder specifically, I don't want to control cameras individually from hass. I already have the run states defined in ZM where I normally set them, I just want a way to be able to control them from hass.

Sometime this week I'm going to work up a PR to expose ZoneMinder run states as a service, which will at least let users handle this through automations... but the UI side will still be missing.

from architecture.

MartinHjelmare avatar MartinHjelmare commented on June 26, 2024

This proposal has come up many times and the answer has always been that we shouldn't implement a "multi-valued switch" but tailor each component after a specific device, eg vacuum component for robot vacuum cleaners.

@balloob should we close?

from architecture.

MartinHjelmare avatar MartinHjelmare commented on June 26, 2024

Btw, the zoneminder component has implemented services to cater for the run states selection.

from architecture.

balloob avatar balloob commented on June 26, 2024

Yeah let's close. A lot of these things are really frontend concerns and should be solved there.

from architecture.

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.