Developer links Trading212 portfolio to Home Assistant for daily Alexa updates
A developer has built a custom Home Assistant integration that pulls live portfolio data from the Trading212 API, including positions, pies, and dividends, into smart home sensors. A companion Lovelace dashboard card with auto-discovery was also created, offering five display types including a sparkline chart and positions list. The developer configured weekday morning automations so Alexa verbally reports total portfolio value and daily profit or loss, with a weekly summary delivered every Friday evening. A technical challenge involved smoothing out gaps in sparkline data caused by Home Assistant's recorder only logging state changes rather than regular intervals. Both the integration and the card are publicly available on GitHub, with the card also listed as a custom repository in HACS.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in