Rest sensor: Templating in header values

Hey! Ik it is an old post :sweat_smile: but I was wondering if you could tell me how you got the sign and access token for tuya into hone assistant? I would appreciate it :pray:t3:

Hi,
Can you tell me how I can configure / script : 1. sensor.tuya_t, 2. sensor.tuya_sign and 3. sensor.tuya_accesstoken in home assistant?

Iā€™m familiar with the Tuya IoT Platform site.

Thanks in advance. Frans