I need a rock-solid, bidirectional bridge that keeps every data point—sensor readings, device status updates, and even user-level configuration—in perfect sync between my Home Assistant instance and the ThingsBoard IoT platform. Whenever a temperature probe reports a new value, a security contact goes offline, or an energy meter resets, the change must appear on the opposite platform in seconds and remain consistent through restarts or network hiccups. All device categories are in scope; no single type is prioritized, so the solution has to auto-discover new devices and gracefully handle anything Home Assistant or ThingsBoard can expose. MQTT, REST, WebSockets, or a mix of these are all acceptable so long as the final implementation is reliable and maintainable. Please include: • A concise architecture diagram highlighting data flow and conflict-resolution logic • Well-documented source code (Python or Node.js preferred) packaged for one-command deployment, ideally via Docker Compose • Clear setup instructions and a README that lets me reproduce the solution from scratch • Basic test scripts or unit tests proving that a value change on either side is mirrored within five seconds, that orphaned devices are cleaned up, and that looping updates are avoided Acceptance criteria 1. Any update in Home Assistant appears in ThingsBoard, and vice-versa, within 5 s. 2. New devices added on either platform are auto-created on the other without manual mapping. 3. Sensor data, device status, and user configuration stay consistent after service restarts. 4. The codebase is lint-clean, containerised, and runs on both x86 and ARM. I will provide VPN access to the test environments, current API credentials, and sample payloads. Show me your proposed approach, timeline, and any past experience integrating these two platforms so we can move forward quickly.