docs: def convert_brightness(self, brightness):
          """
          Convert the brightness from decimal percent (0.0-1.0)
          to byte representation for use in commands.
          :param brightness: The brightness from in decimal percent (0.0-1.0).
          :return: The brightness in byte representation.
          """
          brightness = math.ceil(brightness * self.brightness_steps)
          return brightness + self.BRIGHTNESS_OFFSET