Sketch file option is not available

base on the documentation I was training to add some code into Sketch file. But there is no such as option. Should be somehow enabled? Can you navigate me please?
Thank you

what do you mean by this?

Here is description how to add Sketch file in my config.

But there is missing that option in that part of GUI.

have you added a new device to cayenne?

Yes Raspbery Pi connected up and running.

you have a pi agent which do not require any sketch to be upload. you can directly add the supported sensor from add new --> devices/widgets --> sensors ---> fill in all details and click Add sensor

Ok I understand that pi agent automatically add support sensors. it work fine. Temp sensors were already discovered. But I need to add there some logics. For example compare two temperatures values and base on the result switch on relay. My impression was that Sketch file can includes also such as code.

for this case you will need to manually add the device using GitHub - myDevicesIoT/Cayenne-MQTT-Python: Python Library for Cayenne MQTT API and modify the code according to your need.

ok thank you