DeanCording / node-red-contrib-comfort

A Node Red node to calculate the thermal comfort level of an environment using ASHRAE Standard 55
Other
6 stars 4 forks source link

Missing items from UI dropdown #8

Open Intecpsp opened 1 year ago

Intecpsp commented 1 year ago

I looked through the code and found a few lists that would be beneficial to display to the user instead of a number with no description. Reading the comment on one of the lists, it looks like it was intended to be displayed as a dropdown, was this missed?

https://github.com/DeanCording/node-red-contrib-comfort/blob/1e0eb3483d9daffb9165ede5dc2ac3b646a68555/lib/global.js#L55

Intecpsp commented 1 year ago

Ahh, I see it is being pulled from

https://github.com/CenterForTheBuiltEnvironment/comfort_tool/blob/master/static/js/global.js

So I guess this has turned into a feature request. Can these be added to the Node-RED UI to be selected from? Also, can a refresh be done on the cbe repo?

EDIT: PR #9 for the CBE refresh. I've never developed a Node-RED module/node before, so I'm unsure how to go about populating the dropdown(s).