To make the library consistent with displayio, modify the brightness property so it uses a float instead of an int.