I have an Alexa Local node that provides this data when I tell Alexa: "Set the landing light to 50%"
msg.payload : string[54]
"{"data":{"entity_id":"light.landing","brightness":50}}"
Alexa responds with a brightness value from 0 to 100%, but the light I am controlling needs a value from 0 to 255. The Map node should do this, but how, please, do I extract the value of brightness?
Thanks