code: def _hexvalue_to_rgb(hexvalue):
          
          r = int(hexvalue[0:2], 16)
          g = int(hexvalue[2:4], 16)
          b = int(hexvalue[4:6], 16)
  
          return (r, g, b)
docs: Converts the hexvalue used by tuya for colour representation into
          an RGB value.
          
          Args:
              hexvalue(string): The hex representation generated by BulbDevice._rgb_to_hexvalue()