Linux Battery Monitor

Good Morning All,

I installed the custom component Linux Battery from https://github.com/home-assistant/core/tree/dev/homeassistant/components/linux_battery and when validating configuration I’m being returned the following error.

Platform error sensor.linux_battery - cannot import name ‘PERCENTAGE’ from ‘homeassistant.const’ (/usr/src/homeassistant/homeassistant/const.py)

Any ideas on how to solve this ?

Thanks,
Etienne