Other homekit types through node-red

Hi,

because I think in the thread is more going on regarding this maybe worth posting…
I posted two function-nodes in this thread for the color-item<->homekit-transformation.
As my codingskills are more on the zero-to-none-side maybe someone can check if it’s ok or if it can be done much better. And maybe it helps someone which would be nice as I could give a tiny little bit back to this helpful community.