AdyRock / com.ady.button_plus

GNU General Public License v3.0
2 stars 3 forks source link

Add possibility to calculate/edit the value to be shown #6

Closed Torch1969 closed 1 year ago

Torch1969 commented 1 year ago

Is it possible to add the possibility to "compose"/edit the value to be shown on the device?

For instance for numeric value based on one or several capabilities and using something like math.js or better logic library.

Or for text strings composed of fixed text and text variables?

AdyRock commented 1 year ago

This sounds like it would be suited to using flows to do the calculations, etc and sending the value to the display?

Torch1969 commented 1 year ago

Yes, that would be a possibility. That way all this functionality doesn't have to be part of this app.

Homey logic variables could be used for this purpose also. See https://github.com/AdyRock/com.ady.button_plus/issues/7

AdyRock commented 1 year ago

Issue #7 is now implemented and covers this, so closing this one off.