Anyone Built a Web3 / Ethereum Wallet Integration for Home Assistant?

Curious if anyone in this community has explored integrating Ethereum wallet or token data into Home Assistant as a sensor or dashboard element.

My use case: I want to display live token balances, track on-chain events, and use wallet thresholds as automation triggers in HA all locally without relying on cloud services.

The approach I'm testing:

  • Custom REST sensor polling an Alchemy/Infura RPC endpoint
  • Template sensor calculating USD value using a CoinGecko API call
  • Automation triggered when balance drops below a set threshold → sends a mobile notification

The harder part is the smart contract event side — listening for specific on-chain events rather than just polling state. That requires a persistent WebSocket connection, which doesn't map cleanly to HA's sensor model.

If you're curious about what's actually happening on the blockchain side of these setups, understanding Ethereum token development services gives a good picture of how events and token standards like ERC-20 and ERC-721 are structured — which directly affects how you'd build the HA integration layer.

Has anyone solved the WebSocket event listener problem cleanly inside HA, or are most people running a separate listener service and pushing to HA via webhook?