Code Monkey home page Code Monkey logo

Comments (2)

balk77 avatar balk77 commented on July 18, 2024

Is this the way to go? Each button and each item on a display has numerous attributes that a user may want to change dynamically. Do we want to provide an input_text, input_number etc for each of these? Or do we keep everything together and let all these attributes be an attribute to the main item? Such as the following attributes to binary_sensor.bottom_right_button:

  • Label
  • Top Label
  • etc
    We should then provide a service, for instance buttonplus.update_button_attributes, for instance like this:
service: buttonplus.update_button_attributes
data:
  label: "new label"
  toplabel: "new top label"
target:
  entity_id: binary_sensor.bottom_right_button

Now I think about it: should the leds be addressable as a light --> aha, ik zie nu de branch waarin je hier al mee begonnen was πŸ˜€

from ha-button-plus.

koenhendriks avatar koenhendriks commented on July 18, 2024

For the original MVP I want all data to be mapped to entities initially. The Text Entity would cover any number or string as input.

from ha-button-plus.

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.