Add stuf to triggers

I’m on raspberry pi and I want to make a trigger a event that when switch 1 & 2 is off it turns on till switch 2 is on

on raspberry pi agent 2.0 this is not posssible. you can try with Cayenne MQTT Python Library GitHub - myDevicesIoT/Cayenne-MQTT-Python: Python Library for Cayenne MQTT API