Data Sharing

I’m trying to share illuminance data from multi sensor to a number entity created in helpers, I’ve created an automation with the trigger being when illuminance changes, and action being a service call to the number entity, but I can’t work out how to send the data from the sensor. also, if you know to do this in Node Red. any help much appreciated. Mark