lorenwest / node-red-contrib-state

Node-RED shared logical state with persistence, notification, and history
MIT License
7 stars 6 forks source link

Unit mesure for percentage #17

Closed sstraus closed 3 months ago

sstraus commented 3 months ago

Hi, what is the expected unit measure for the percentage? Like humidity? I can't find any suitable one on the list, but it should be common in nodered.

thanks

lorenwest commented 3 months ago

The units functionality exists for conversion purposes. It uses the convert-units library to allow unit conversion within a category.

Data typing is optional, and you wouldn't need it for percentages because there aren't other units to convert to/from.