A Home Assistant custom component for tracking energy and water usage from Tacoma Public Utilities.
Note
This is an unofficial, community-developed integration and is not affiliated with, endorsed by, or supported by Tacoma Public Utilities (TPU). Use at your own risk.
- Track daily electricity consumption (kWh)
- Track daily water consumption (CCF)
- Compatible with Home Assistant's Energy Dashboard
- Automatic hourly updates
- Home Assistant 2025.12.0 or newer
- A MyTPU online account at myaccount.mytpu.org
- Open HACS in Home Assistant
- Search for "Tacoma Public Utilities"
- Click "Download"
- Restart Home Assistant
Manual Installation
- Copy the
custom_components/mytpufolder to your Home Assistantconfig/custom_components/directory - Restart Home Assistant
- Go to Settings → Devices & Services
- Click Add Integration
- Search for "Tacoma Public Utilities"
- Enter your MyTPU username and password
- Select which meters to track (the integration will automatically discover all available meters on your account)
This integration creates the following sensors:
| Sensor | Description | Unit | Device Class |
|---|---|---|---|
| Energy Consumption | Daily electricity usage | kWh | energy |
| Water Consumption | Daily water usage | CCF | water |
Historical data and cumulative totals are tracked using Home Assistant's statistics system for proper Energy Dashboard integration.
- Go to Settings → Dashboards → Energy
- Under "Electricity grid", click "Add consumption"
- Select the "Energy Consumption" sensor
- Under "Water consumption", click "Add water source"
- Select the "Water Consumption" sensor
This project was inspired by and builds upon the work of ex-nerd/mytpu.