Google home app issue device not showing in automations

happy new year

i have done a project based on a esp32

the project sends a temperature variable (at the moment just a simple fixed value)

i have sucessfully connected the project to goole home app
the esp32 shows up in the google home app devices and shows the correct fixed value
all good

the issue is that the device does not show up in automations

any help would be great appreciated

good morning

hope you are all safe and well

i posted this in january

i have left it for a few months as the problem still exists i have posted again

project based on a esp32

the project sends a temperature variable (at the moment just a simple fixed value)

CloudTemperatureSensor luxsensor;

i have sucessfully connected the project to google home app

the esp32 shows up in the google home app devices and shows the correct fixed value
all good

the issue is that the device does not show up in automations

i think when you send a variable like a temperatute you want to do something with it

when temp is xxx turn the heating on

any help would be great appreciated