# CHANGELOG - Whatsapp Bridge Integration ## Release 0.2.1 - 2026-06-15 - **Fix:** Fehlerbehebung bei der Geräte-Zuordnung. Statt eines starren globalen Gateways, das sich in alle Account-Karten kopiert hat, wird nun für jeden angelegten Account (*Larissa, Rene, Work*) ein eigenes, separates Home Assistant Gerät erzeugt. - **Fix:** Der Live-Status-Sensor und die Broadcast-Entität wurden globalisiert. Sie werden nur noch genau einmal instanziiert (statt fälschlicherweise pro Account) und existieren als freie Entitäten ohne Geräte-Zuordnung, um die UI übersichtlich zu halten. - **Optimierung:** Code-Refactoring der `sensor.py` zur Vermeidung von Entitäten-Duplizierung bei mehreren Profilen. ## Release 0.2.0 - 2026-06-15 - **New:** Setup of a main device (WhatsApp Bridge Gateway) in the Home Assistant device registry. - **New:** Integrated global service `whatsapp_bridge.send_broadcast`, which operates independently of individual profile entities and can send messages to any number or group ID. - **New:** Added status sensor (`sensor.whatsapp_bridge_status`). This queries the add-on's new API and provides the current connection status (`CONNECTED`, `WAITING_FOR_SCAN`, `INITIALIZING`, `OFFLINE`) directly within Home Assistant. - **Improved:** The sensor is assigned to the new main device, which significantly simplifies automations (e.g., alert on connection loss). ## Release 0.1.7 - Previous stable version