This is a bit tricky since you need to use .value to access the value of a module input and you need to use .valueagain to access the value of your temporary state:
So, as above, you can either pass {{ tempState.value }} and then access the input value using {{ input.value }}.
Otherwise, you can pass {{ tempState }} and then use {{ input.value.value}} but that might be less ideal.