Setting up Tank Utility


I’ve looked at the configuration steps here: Tank Utility - Home Assistant
And the troubleshooting here: Tank Utility Configuration

I’ve added the entry into my configuration.yaml, it looks something like this:

# Configure a default setup of Home Assistant (frontend, api, etc) 

# Text to speech
  - platform: google_translate

# http forwarding
#  use_x_forwarded_for: true
#  trusted_proxies:
#    -

  - platform: tank_utility
    email: "[email protected]"
    password: "mysupersecretpassword"
      - sensor: '24charsidsenidlooksright'

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

And after restarting I still don’t see any sensors under “tank_utility” in HASS.

I’d like to show just a simple percentage of how much propane is in the tank for food/heating. Does anyone know how I might be able to get this to work?

Did you check the HA logs for potential error messages?

According to the doc, it seems it should be

  - platform: tank_utility
    email: "[email protected]"
    password: "mysupersecretpassword"
      - 24charsidsenidlooksright

Welp, now i’m embarassed. That worked! Thanks @koying!

by the way, I removed the quotes from the email and password strings… does HA YAML care about that?

Also, I’m wondering what people do for secrets management (if anything)?

Normally not… unless it does (templates is an example).
In doubt, just follow the doc :wink:

1 Like

I recently had to replace my Tank Utility for warranty. During the new setup I couldn’t find the 24digit number to be used. It looks like the website has been changed.

I did find it this way…
If you login to the app or website, go to your Tank Utility device and click on “Delete” device… You can then see your 24digit number and then cancel the delete.

1 Like

Anyone notice if Tank Utility is not updating in HA? Mine stopped. Can’t figure it out.

@mikedrews , Still working great for me. Is it updating in the Tank Utility app? That would be my only test…

It seems after updating to core 11.4 it stopped working. I backed out of the change and it starting working. Applied the core update again and it stopped.

Did you ever figure this out? I just installed one and can’t get it to connect to HA. This is the error I’m seeing in my logs:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/", line 493, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/src/homeassistant/homeassistant/helpers/", line 715, in async_device_update
    await task
  File "/usr/local/lib/python3.10/concurrent/futures/", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/tank_utility/", line 139, in update
    self._state = round(data[SENSOR_TYPE], SENSOR_ROUNDING_PRECISION)
KeyError: 'tank'