Giter VIP home page Giter VIP logo

Comments (4)

J-N-K avatar J-N-K commented on June 24, 2024

This is not possible. How do you select which combinations are shown? Take for instance velocity:

  • length can be expressed as mm, cm, dm, m, km, in, ft, mi (which are common, every metric prefix like M, G, T is also valid for m)
  • time can be expressed as ms, s, min, h, d, m, y (which are common, every metric prefix is also valid for s)

Any combination of these units is a valid velocity unit, at least 48 different units if we only take the most common ones (although probably in/y or km/ms don't make much sense).

If at all a curated list of units should be available in Main UI, but core should not present a subset of available units.

from openhab-core.

mherwege avatar mherwege commented on June 24, 2024

If at all a curated list of units should be available in Main UI, but core should not present a subset of available units.

Fair enough. And I was aware of the problem of selecting what to show. The reason to consider putting a curated list in core is that it would allow to maintain everything about units in one place, together with the unit types. I am happy to move this to the ui and maintain it there though.

Can this issue be reformulated (not REST API) and moved to the webui repository?

from openhab-core.

andrewfg avatar andrewfg commented on June 24, 2024

Can this issue be reformulated (not REST API) and moved to the webui repository?

I changed the title, but I am not authorized to move it..

from openhab-core.

florian-h05 avatar florian-h05 commented on June 24, 2024

Can someone please close this issue? I have merged the UI PR, but since I have no issue managment rights on the core repo, this issue was not closed automatically.

from openhab-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.