Please see section 11: How to help us help you - or How to ask a good question
You can not set the value of a sensor with the number.set_value service. That only acts on number entities. e.g. number.my_test_number.
Please explain what you are trying to achieve rather than your chosen solution, see https://xyproblem.info/ there is probably a better way.