import sqlite3 conn = sqlite3.connect("icu_local.db") c = conn.cursor() # Set pending_update to 1 for all displays to force them to refresh c.execute("UPDATE display_devices SET pending_update = 1") conn.commit() print("Set pending_update = 1 for all displays. The ESP32 should pick this up on its next heartbeat!") conn.close()