v1.2.1 — Coordinator safety-net
Fixed
- Coordinator safety-net —
total_itemsis now guaranteed to be populated in coordinator data even if a future PHP API change restructures the response. Falls back to the responsestatevalue.
Notes (audit findings)
All other reported issues were investigated and confirmed to be non-issues:
expiring_soonkey name is consistent between PHP and sensor.py ✅shopping_totalis already sent as a float by PHP; currency is handled dynamically viaprice_currency✅- Product lists (
expiring_list,expired_list,low_stock_list) are passed through correctly ✅