docs: def _transition_steps(self, brightness=None, color=None):
          """
          Get the maximum number of steps needed for a transition.
  
          :param brightness: The brightness to transition to (0.0-1.0).
          :param color: The color to transition to.
          :return: The maximum number of steps.
          """
          values = []
          if brightness is not None:
              self._assert_is_brightness(brightness)
              values.append((self.brightness, brightness))
  
          if color is not None:
              self._assert_is_color(color)
              values += [(self.color[i] / 255, color[i] / 255) for i in range(3)]
  
          if not values:
              return 0
  
          return max(self._driver.steps(*args) for args in values)